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

Unified Diff: Source/core/svg/SVGUnknownElement.cpp

Issue 21498002: Introduce a SVGUnknownElement class for unknown SVG elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment for SVGUnknownElement 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/SVGUnknownElement.h ('k') | Source/core/svg/animation/SVGSMILElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUnknownElement.cpp
diff --git a/Source/core/platform/chromium/FileSystemChromiumLinux.cpp b/Source/core/svg/SVGUnknownElement.cpp
similarity index 87%
copy from Source/core/platform/chromium/FileSystemChromiumLinux.cpp
copy to Source/core/svg/SVGUnknownElement.cpp
index 4d1d4a87f1d5f70adfe418b4cb4d7c9ba06ba6a3..ecc0d2f2f186434ad83a947d92cca241c2bfa3b0 100644
--- a/Source/core/platform/chromium/FileSystemChromiumLinux.cpp
+++ b/Source/core/svg/SVGUnknownElement.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 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
@@ -29,13 +29,13 @@
*/
#include "config.h"
-#include "core/platform/FileSystem.h"
+#include "core/svg/SVGUnknownElement.h"
namespace WebCore {
-String pathGetFileName(const String& path)
+SVGUnknownElement::SVGUnknownElement(const QualifiedName& tagName, Document* document)
+ : SVGElement(tagName, document)
{
- return path.substring(path.reverseFind('/') + 1);
}
} // namespace WebCore
« no previous file with comments | « Source/core/svg/SVGUnknownElement.h ('k') | Source/core/svg/animation/SVGSMILElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698