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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.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/web/InspectorOverlay.cpp
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
index 28293f2f11b500f9ee6c578de4bc874b83643fe7..d69ede6137f55724eca477fd5b5013dd24119ed7 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -75,7 +75,7 @@ Node* hoveredNodeForPoint(LocalFrame* frame, const IntPoint& pointInRootFrame, b
HitTestResult result(request, frame->view()->rootFrameToContents(pointInRootFrame));
frame->contentLayoutItem().hitTest(result);
Node* node = result.innerPossiblyPseudoNode();
- while (node && node->getNodeType() == Node::TEXT_NODE)
+ while (node && node->getNodeType() == Node::kTextNode)
node = node->parentNode();
return node;
}

Powered by Google App Engine
This is Rietveld 408576698