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

Unified Diff: Source/platform/graphics/GraphicsContext.cpp

Issue 259503002: Remove GraphicsContext::getClipBounds() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove the declaration Created 6 years, 8 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/platform/graphics/GraphicsContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsContext.cpp
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
index e2b091292f892a9b8631b9a334c861099df9771b..fc49caf77fc95576d48cbd339b84c49380989064 100644
--- a/Source/platform/graphics/GraphicsContext.cpp
+++ b/Source/platform/graphics/GraphicsContext.cpp
@@ -330,16 +330,6 @@ bool GraphicsContext::hasShadow() const
return !!immutableState()->drawLooper();
}
-FloatRect GraphicsContext::getClipBounds() const
-{
- if (paintingDisabled())
- return FloatRect();
- SkRect rect;
- if (!m_canvas->getClipBounds(&rect))
- return FloatRect();
- return FloatRect(rect);
-}
-
bool GraphicsContext::getTransformedClipBounds(FloatRect* bounds) const
{
if (paintingDisabled())
« no previous file with comments | « Source/platform/graphics/GraphicsContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698