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

Unified Diff: Source/core/paint/FloatClipRecorder.h

Issue 1144203004: Allow certain SP recorder classes to defer their "begin" operation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « Source/core/paint/FileUploadControlPainter.cpp ('k') | Source/core/paint/FloatClipRecorder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/FloatClipRecorder.h
diff --git a/Source/core/paint/FloatClipRecorder.h b/Source/core/paint/FloatClipRecorder.h
index 830d5621d39e800dc1e2fa981df0128e5eb4ef76..705c7f856ac03ef5733b3b46ac1d3abbe30c0869 100644
--- a/Source/core/paint/FloatClipRecorder.h
+++ b/Source/core/paint/FloatClipRecorder.h
@@ -13,14 +13,17 @@ namespace blink {
class FloatClipRecorder {
public:
+ FloatClipRecorder(GraphicsContext&, const DisplayItemClientWrapper&, PaintPhase);
FloatClipRecorder(GraphicsContext&, const DisplayItemClientWrapper&, PaintPhase, const FloatRect&);
-
~FloatClipRecorder();
+ void begin(const FloatRect&);
+
private:
GraphicsContext& m_context;
DisplayItemClientWrapper m_client;
DisplayItem::Type m_clipType;
+ bool m_engaged;
};
} // namespace blink
« no previous file with comments | « Source/core/paint/FileUploadControlPainter.cpp ('k') | Source/core/paint/FloatClipRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698