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

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

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unintended exception message change Created 4 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: third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp b/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
index 2ffe72b632cb27050fec4286cc4342278e7971e8..e2f7b233e5925814a20eec219fe4a5e04889c29f 100644
--- a/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
@@ -102,7 +102,7 @@ bool StyleSheetCandidate::canBeActivated(const String& currentPreferrableName) c
StyleSheetCandidate::Type StyleSheetCandidate::typeOf(Node& node)
{
- if (node.getNodeType() == Node::PROCESSING_INSTRUCTION_NODE)
+ if (node.getNodeType() == Node::kProcessingInstructionNode)
return Pi;
if (node.isHTMLElement()) {

Powered by Google App Engine
This is Rietveld 408576698