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

Unified Diff: third_party/WebKit/Source/core/inspector/LayoutEditor.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/inspector/LayoutEditor.cpp
diff --git a/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp b/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
index 08466a67674a60227b33da923c6fb17497daa1b4..8294dc916ede73301606ee5b08646b97bdfe4908 100644
--- a/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
+++ b/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
@@ -84,10 +84,10 @@ InspectorHighlightConfig affectedNodesHighlightConfig()
void collectMediaQueriesFromRule(CSSRule* rule, Vector<String>& mediaArray)
{
MediaList* mediaList;
- if (rule->type() == CSSRule::MEDIA_RULE) {
+ if (rule->type() == CSSRule::kMediaRule) {
CSSMediaRule* mediaRule = toCSSMediaRule(rule);
mediaList = mediaRule->media();
- } else if (rule->type() == CSSRule::IMPORT_RULE) {
+ } else if (rule->type() == CSSRule::kImportRule) {
CSSImportRule* importRule = toCSSImportRule(rule);
mediaList = importRule->media();
} else {

Powered by Google App Engine
This is Rietveld 408576698