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

Unified Diff: sky/engine/platform/Widget.h

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 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 | « sky/engine/platform/HostWindow.h ('k') | sky/engine/platform/graphics/Canvas2DImageBufferSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/Widget.h
diff --git a/sky/engine/platform/Widget.h b/sky/engine/platform/Widget.h
index f55445565f5188e9ad7748e078a1ca6902ec179c..d0485dd2f596b82b539f352f7d433030939ebd63 100644
--- a/sky/engine/platform/Widget.h
+++ b/sky/engine/platform/Widget.h
@@ -63,8 +63,8 @@ public:
void move(const IntPoint& p) { setFrameRect(IntRect(p, size())); }
virtual void paint(GraphicsContext*, const IntRect&) { }
- void invalidate() { invalidateRect(boundsRect()); }
- virtual void invalidateRect(const IntRect&) = 0;
+ // FIXME(sky): Remove
+ void invalidate() { }
virtual bool isFrameView() const { return false; }
virtual bool isScrollbar() const { return false; }
« no previous file with comments | « sky/engine/platform/HostWindow.h ('k') | sky/engine/platform/graphics/Canvas2DImageBufferSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698