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

Unified Diff: Source/core/svg/SVGRect.h

Issue 19096011: Get rid of SVGRect special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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/core/svg/SVGLocatable.cpp ('k') | Source/core/svg/SVGSVGElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGRect.h
diff --git a/Source/core/svg/SVGRect.h b/Source/core/svg/SVGRect.h
index 24d40c09d6e7d8a0f335c1c09c9c0f61f7f21752..7430757f75174d6f1e72c3928e1a78a28bb17053 100644
--- a/Source/core/svg/SVGRect.h
+++ b/Source/core/svg/SVGRect.h
@@ -26,10 +26,12 @@
namespace WebCore {
+typedef FloatRect SVGRect;
+
template<>
-struct SVGPropertyTraits<FloatRect> {
- static FloatRect initialValue() { return FloatRect(); }
- static String toString(const FloatRect& type)
+struct SVGPropertyTraits<SVGRect> {
+ static SVGRect initialValue() { return SVGRect(); }
+ static String toString(const SVGRect& type)
{
StringBuilder builder;
builder.append(String::number(type.x()));
« no previous file with comments | « Source/core/svg/SVGLocatable.cpp ('k') | Source/core/svg/SVGSVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698