summaryrefslogtreecommitdiff
path: root/chromium/cc/layers/surface_layer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/layers/surface_layer.cc')
-rw-r--r--chromium/cc/layers/surface_layer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/cc/layers/surface_layer.cc b/chromium/cc/layers/surface_layer.cc
index c208d4778f8..000832fe116 100644
--- a/chromium/cc/layers/surface_layer.cc
+++ b/chromium/cc/layers/surface_layer.cc
@@ -70,7 +70,7 @@ void SurfaceLayer::SetPrimarySurfaceInfo(const SurfaceInfo& surface_info) {
layer_tree_host(), primary_surface_info_.id());
}
UpdateDrawsContent(HasDrawableContent());
- SetNeedsCommitNoRebuild();
+ SetNeedsCommit();
}
void SurfaceLayer::SetFallbackSurfaceInfo(const SurfaceInfo& surface_info) {
@@ -80,7 +80,7 @@ void SurfaceLayer::SetFallbackSurfaceInfo(const SurfaceInfo& surface_info) {
fallback_reference_returner_ = ref_factory_->CreateReference(
layer_tree_host(), fallback_surface_info_.id());
}
- SetNeedsCommitNoRebuild();
+ SetNeedsCommit();
}
void SurfaceLayer::SetStretchContentToFillBounds(