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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp

Issue 2802723002: Rename duplicate symbols inside core/dom (Closed)
Patch Set: Created 3 years, 8 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 | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/NodeTraversal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp b/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
index 850185e507b7e542e5b4de9265dccdd5120c5aec..31f61e3c30a20209920f44a64dc8ca0fd5c3e63f 100644
--- a/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
@@ -10,14 +10,14 @@
namespace blink {
-static const char kSupplementName[] = "DocumentParserTiming";
+static const char kSupplementNameTiming[] = "DocumentParserTiming";
DocumentParserTiming& DocumentParserTiming::from(Document& document) {
DocumentParserTiming* timing = static_cast<DocumentParserTiming*>(
- Supplement<Document>::from(document, kSupplementName));
+ Supplement<Document>::from(document, kSupplementNameTiming));
if (!timing) {
timing = new DocumentParserTiming(document);
- Supplement<Document>::provideTo(document, kSupplementName, timing);
+ Supplement<Document>::provideTo(document, kSupplementNameTiming, timing);
}
return *timing;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/NodeTraversal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698