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

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

Issue 907453003: Move overdraw tracking code from GraphicsContext to CanvasRenderingContext2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test copypasta Created 5 years, 10 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/GraphicsContextState.h
diff --git a/Source/platform/graphics/GraphicsContextState.h b/Source/platform/graphics/GraphicsContextState.h
index 1c5396026b48a92f27709e59922d178f0cb2649c..c505b653fe140b405aa755284ffbe5a0d3d1024f 100644
--- a/Source/platform/graphics/GraphicsContextState.h
+++ b/Source/platform/graphics/GraphicsContextState.h
@@ -141,11 +141,6 @@ public:
bool shouldClampToSourceRect() const { return m_shouldClampToSourceRect; }
void setShouldClampToSourceRect(bool shouldClampToSourceRect) { m_shouldClampToSourceRect = shouldClampToSourceRect; }
- // Returns true if clip is more than just a rectangle or intersection
- // of rectangles.
- bool hasComplexClip() const;
- void setHasComplexClip();
-
private:
GraphicsContextState();
explicit GraphicsContextState(const GraphicsContextState&);
@@ -189,7 +184,6 @@ private:
bool m_shouldAntialias : 1;
bool m_shouldClampToSourceRect : 1;
- bool m_hasComplexClip : 1;
};
} // namespace blink
« no previous file with comments | « Source/platform/graphics/GraphicsContextClient.cpp ('k') | Source/platform/graphics/GraphicsContextState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698