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

Unified Diff: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp

Issue 2738233002: Fold SVGDocumentExtensions::reportError into only user (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
index 6a2e850518e0df1d2d987c977d7368d541c37926..b859e892ef174ebdaaf23cf4f4f3f42b9b5cf099 100644
--- a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
@@ -22,7 +22,6 @@
#include "core/svg/SVGDocumentExtensions.h"
#include "core/dom/Document.h"
-#include "core/inspector/ConsoleMessage.h"
#include "core/svg/SVGSVGElement.h"
#include "core/svg/animation/SMILTimeContainer.h"
#include "wtf/AutoReset.h"
@@ -113,12 +112,6 @@ void SVGDocumentExtensions::dispatchSVGLoadEventToOutermostSVGElements() {
}
}
-void SVGDocumentExtensions::reportError(const String& message) {
- ConsoleMessage* consoleMessage = ConsoleMessage::create(
- RenderingMessageSource, ErrorMessageLevel, "Error: " + message);
- m_document->addConsoleMessage(consoleMessage);
-}
-
void SVGDocumentExtensions::addSVGRootWithRelativeLengthDescendents(
SVGSVGElement* svgRoot) {
ASSERT(!m_inRelativeLengthSVGRootsInvalidation);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698