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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 1422493003: Change Widget subclasses to use a CullRect instead of an IntRect for painting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index d0b0a71569cd010bee301a052b4bec7f8afd2234..48e39bf1056e4bdc36aa9e033567d38452f788fd 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -514,8 +514,8 @@ public:
}
// Widget override. Handles painting of the contents of the view as well as the scrollbars.
- void paint(GraphicsContext*, const IntRect&) const override;
- void paint(GraphicsContext*, const GlobalPaintFlags, const IntRect&) const;
+ void paint(GraphicsContext*, const CullRect&) const override;
+ void paint(GraphicsContext*, const GlobalPaintFlags, const CullRect&) const;
void paintContents(GraphicsContext*, const GlobalPaintFlags, const IntRect& damageRect) const;
// Widget overrides to ensure that our children's visibility status is kept up to date when we get shown and hidden.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698