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

Unified Diff: third_party/WebKit/Source/web/PageOverlay.h

Issue 1441973003: Use recomputed interest rect only if it changed enough (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix release builds Created 5 years, 1 month 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: third_party/WebKit/Source/web/PageOverlay.h
diff --git a/third_party/WebKit/Source/web/PageOverlay.h b/third_party/WebKit/Source/web/PageOverlay.h
index 305fe2dfc3bdcd813f6707d5e87f849c726bd73c..87f772f2afaa5e5300932f94350bc0719f372713 100644
--- a/third_party/WebKit/Source/web/PageOverlay.h
+++ b/third_party/WebKit/Source/web/PageOverlay.h
@@ -69,8 +69,9 @@ public:
String debugName() const { return "PageOverlay"; }
// GraphicsLayerClient implementation
- void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect* inClip) const override;
- String debugName(const GraphicsLayer*) override;
+ IntRect computeInterestRect(const GraphicsLayer*, const IntRect&) const override;
+ void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& interestRect) const override;
+ String debugName(const GraphicsLayer*) const override;
private:
PageOverlay(WebViewImpl*, PageOverlay::Delegate*);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp ('k') | third_party/WebKit/Source/web/PageOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698