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

Unified Diff: ui/views/view.cc

Issue 464643003: Stop painting when receiving delegated frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix crashes Created 6 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
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index bb9ff1ab878e4e3e33b12ca26564db084afc2c17..99fcdbce3c130f69634031357b520aa837f755d0 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -1465,6 +1465,10 @@ void View::OnPaintLayer(gfx::Canvas* canvas) {
PaintCommon(canvas, CullSet());
}
+void View::OnDelegatedFrameDamage(
+ const gfx::Rect& damage_rect_in_dip) {
+}
+
void View::OnDeviceScaleFactorChanged(float device_scale_factor) {
snap_layer_to_pixel_boundary_ =
(device_scale_factor - std::floor(device_scale_factor)) != 0.0f;
« ui/compositor/layer.cc ('K') | « ui/views/view.h ('k') | ui/wm/core/image_grid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698