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

Unified Diff: Source/bindings/v8/custom/V8CSSValueCustom.cpp

Issue 15338005: Remove ENABLE(SVG) from bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/bindings/v8/CustomElementHelpers.cpp ('k') | Source/bindings/v8/custom/V8DocumentCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8CSSValueCustom.cpp
diff --git a/Source/bindings/v8/custom/V8CSSValueCustom.cpp b/Source/bindings/v8/custom/V8CSSValueCustom.cpp
index b84f7c5553dce71d5e5e20f1263cb445b9b4ce3a..d8f02c9891c6430bd2394cba09f34da9038c8690 100644
--- a/Source/bindings/v8/custom/V8CSSValueCustom.cpp
+++ b/Source/bindings/v8/custom/V8CSSValueCustom.cpp
@@ -33,18 +33,13 @@
#include "V8CSSPrimitiveValue.h"
#include "V8CSSValueList.h"
-#include "V8WebKitCSSTransformValue.h"
-
+#include "V8SVGColor.h"
+#include "V8SVGPaint.h"
#include "V8WebKitCSSFilterValue.h"
-
#include "V8WebKitCSSMixFunctionValue.h"
+#include "V8WebKitCSSTransformValue.h"
#include "core/css/WebKitCSSMixFunctionValue.h"
-#if ENABLE(SVG)
-#include "V8SVGColor.h"
-#include "V8SVGPaint.h"
-#endif
-
namespace WebCore {
v8::Handle<v8::Object> wrap(CSSValue* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
@@ -60,12 +55,10 @@ v8::Handle<v8::Object> wrap(CSSValue* impl, v8::Handle<v8::Object> creationConte
return wrap(static_cast<CSSValueList*>(impl), creationContext, isolate);
if (impl->isPrimitiveValue())
return wrap(static_cast<CSSPrimitiveValue*>(impl), creationContext, isolate);
-#if ENABLE(SVG)
if (impl->isSVGPaint())
return wrap(static_cast<SVGPaint*>(impl), creationContext, isolate);
if (impl->isSVGColor())
return wrap(static_cast<SVGColor*>(impl), creationContext, isolate);
-#endif
return V8CSSValue::createWrapper(impl, creationContext, isolate);
}
« no previous file with comments | « Source/bindings/v8/CustomElementHelpers.cpp ('k') | Source/bindings/v8/custom/V8DocumentCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698