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

Unified Diff: Source/platform/graphics/ContentLayerDelegate.h

Issue 1238123004: Slimming Paint phase 2 compositing algorithm plumbing & skeleton display list API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: Source/platform/graphics/ContentLayerDelegate.h
diff --git a/Source/platform/graphics/ContentLayerDelegate.h b/Source/platform/graphics/ContentLayerDelegate.h
index 968e1073a4b2a35498a253982561b5a7da1314f3..663dba64ae51ee666ada50fe878d9b7fd8732608 100644
--- a/Source/platform/graphics/ContentLayerDelegate.h
+++ b/Source/platform/graphics/ContentLayerDelegate.h
@@ -42,6 +42,7 @@ class IntRect;
class PLATFORM_EXPORT GraphicsContextPainter {
public:
virtual void paint(GraphicsContext&, const IntRect& clip) = 0;
+ virtual void paint(GraphicsContext&) = 0;
virtual DisplayItemList* displayItemList() = 0;
protected:
@@ -58,6 +59,7 @@ public:
// WebContentLayerClient implementation.
void paintContents(SkCanvas*, const WebRect& clip, WebContentLayerClient::PaintingControlSetting = PaintDefaultBehavior) override;
void paintContents(WebDisplayItemList*, const WebRect& clip, WebContentLayerClient::PaintingControlSetting = PaintDefaultBehavior) override;
+
size_t approximateUnsharedMemoryUsage() const override;
private:

Powered by Google App Engine
This is Rietveld 408576698