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

Unified Diff: Source/WebCore/platform/graphics/Path.cpp

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 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/WebCore/platform/graphics/Path.h ('k') | Source/WebCore/platform/graphics/Pattern.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/Path.cpp
diff --git a/Source/WebCore/platform/graphics/Path.cpp b/Source/WebCore/platform/graphics/Path.cpp
index e3bee07ffe2c32774d2d1117dcea4eb197c3ab56..983d1cfb69ca14e35ad93e0b95e248d5854a0a13 100644
--- a/Source/WebCore/platform/graphics/Path.cpp
+++ b/Source/WebCore/platform/graphics/Path.cpp
@@ -37,7 +37,6 @@
namespace WebCore {
-#if !PLATFORM(OPENVG) && !PLATFORM(QT)
static void pathLengthApplierFunction(void* info, const PathElement* element)
{
PathTraversalState& traversalState = *static_cast<PathTraversalState*>(info);
@@ -90,7 +89,6 @@ float Path::normalAngleAtLength(float length, bool& ok) const
ok = traversalState.m_success;
return traversalState.m_normalAngle;
}
-#endif
void Path::addRoundedRect(const RoundedRect& r)
{
@@ -188,7 +186,7 @@ void Path::addBeziersForRoundedRect(const FloatRect& rect, const FloatSize& topL
closeSubpath();
}
-#if !USE(CG) && !PLATFORM(QT)
+#if !USE(CG)
FloatRect Path::fastBoundingRect() const
{
return boundingRect();
« no previous file with comments | « Source/WebCore/platform/graphics/Path.h ('k') | Source/WebCore/platform/graphics/Pattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698