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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.cpp

Issue 1431683004: Oilpan: add missing pointer initialization after r357529. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0aef820a5d5ae081c6da161f9cc2381ec631c5a0..af68d4c9e495057fcd2957d6023528148e587d41 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -414,7 +414,7 @@ void InspectorOverlay::drawNodeHighlight()
return;
String selectors = m_nodeHighlightConfig.selectorList;
- RefPtrWillBeRawPtr<StaticElementList> elements;
+ RefPtrWillBeRawPtr<StaticElementList> elements = nullptr;
TrackExceptionState exceptionState;
if (selectors.length())
elements = m_highlightNode->ownerDocument()->querySelectorAll(AtomicString(selectors), exceptionState);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698