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

Unified Diff: sky/engine/platform/graphics/GraphicsContext.cpp

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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: sky/engine/platform/graphics/GraphicsContext.cpp
diff --git a/sky/engine/platform/graphics/GraphicsContext.cpp b/sky/engine/platform/graphics/GraphicsContext.cpp
index 8f17728719ba2e8e455554a12cf5a86c63c3f3f1..2a7fb3513309db43c60c37a9e355ba61b5a7893f 100644
--- a/sky/engine/platform/graphics/GraphicsContext.cpp
+++ b/sky/engine/platform/graphics/GraphicsContext.cpp
@@ -1471,25 +1471,6 @@ void GraphicsContext::clipRRect(const SkRRect& rect, AntiAliasingMode aa, SkRegi
m_canvas->clipRRect(rect, op, aa == AntiAliased);
}
-void GraphicsContext::beginCull(const FloatRect& rect)
-{
- if (contextDisabled())
- return;
-
- realizeCanvasSave();
- m_canvas->pushCull(rect);
-}
-
-void GraphicsContext::endCull()
-{
- if (contextDisabled())
- return;
-
- realizeCanvasSave();
-
- m_canvas->popCull();
-}
-
void GraphicsContext::rotate(float angleInRadians)
{
if (contextDisabled())
« no previous file with comments | « sky/engine/platform/graphics/GraphicsContext.h ('k') | sky/engine/platform/graphics/GraphicsContextCullSaver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698