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

Unified Diff: third_party/WebKit/Source/core/dom/CSSSelectorWatch.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 | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
diff --git a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
index 7e57b4bfdfaff2e27749618210b543c3f8757c63..07c5081b9c2f2935b9346874039d891bab7a3e14 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
@@ -43,7 +43,7 @@
namespace blink {
// The address of this string is important; its value is just documentation.
-static const char kSupplementName[] = "CSSSelectorWatch";
+static const char kSupplementNameWatch[] = "CSSSelectorWatch";
CSSSelectorWatch::CSSSelectorWatch(Document& document)
: Supplement<Document>(document),
@@ -57,14 +57,14 @@ CSSSelectorWatch& CSSSelectorWatch::from(Document& document) {
CSSSelectorWatch* watch = fromIfExists(document);
if (!watch) {
watch = new CSSSelectorWatch(document);
- Supplement<Document>::provideTo(document, kSupplementName, watch);
+ Supplement<Document>::provideTo(document, kSupplementNameWatch, watch);
}
return *watch;
}
CSSSelectorWatch* CSSSelectorWatch::fromIfExists(Document& document) {
return static_cast<CSSSelectorWatch*>(
- Supplement<Document>::from(document, kSupplementName));
+ Supplement<Document>::from(document, kSupplementNameWatch));
}
void CSSSelectorWatch::callbackSelectorChangeTimerFired(TimerBase*) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698