Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: cc/layers/layer.cc

Issue 22891006: cc: Layer::SetTouchEventHandlerRegion should SetNeedsCommit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: toucheventhandlerregion: rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 97fcdc89a0677d0f9ac6855fadc3101ef4ab3c58..18361461a13f9386d64d8bdf942cbbcfc9ad23a9 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -630,6 +630,7 @@ void Layer::SetTouchEventHandlerRegion(const Region& region) {
if (touch_event_handler_region_ == region)
return;
touch_event_handler_region_ = region;
+ SetNeedsCommit();
}
void Layer::SetDrawCheckerboardForMissingTiles(bool checkerboard) {
« no previous file with comments | « no previous file | cc/layers/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698