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

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

Issue 19154006: Get rid of special casing for SVGNumber in the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update core.gypi 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
Index: Source/core/svg/SVGNumber.h
diff --git a/Source/core/dom/MessagePortChannel.cpp b/Source/core/svg/SVGNumber.h
similarity index 90%
copy from Source/core/dom/MessagePortChannel.cpp
copy to Source/core/svg/SVGNumber.h
index be0712023d17473e9a2d6079bccc852a0347ee1e..48be2e80c58a48652f1b6c49f859acf15c5346b1 100644
--- a/Source/core/dom/MessagePortChannel.cpp
+++ b/Source/core/svg/SVGNumber.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Samsung Electronics. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -27,9 +27,14 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "config.h"
-#include "core/dom/MessagePortChannel.h"
+
+#ifndef SVGNumber_h
+#define SVGNumber_h
namespace WebCore {
+typedef float SVGNumber;
+
} // namespace WebCore
+
+#endif // SVGNumber_h

Powered by Google App Engine
This is Rietveld 408576698