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

Unified Diff: Source/web/WebNode.cpp

Issue 290333008: Oilpan: add [WillBeGarbageCollected] for Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + remove WebNode FIXME Created 6 years, 7 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 | « Source/core/html/HTMLOptionsCollection.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebNode.cpp
diff --git a/Source/web/WebNode.cpp b/Source/web/WebNode.cpp
index ab0d5fc1ee8e57f72c1a36691c46bc27b778c344..79e12df6595eebba1955315ebb7d2bfa3b0af756 100644
--- a/Source/web/WebNode.cpp
+++ b/Source/web/WebNode.cpp
@@ -204,15 +204,8 @@ WebElement WebNode::querySelector(const WebString& tag, WebExceptionCode& ec) co
{
TrackExceptionState exceptionState;
WebElement element;
- if (m_private->isContainerNode()) {
-#if ENABLE(OILPAN)
- // FIXME: ContainerNode::querySelector should return an Element raw
- // pointer.
- element = toContainerNode(m_private.get())->querySelector(tag, exceptionState).get();
-#else
+ if (m_private->isContainerNode())
element = toContainerNode(m_private.get())->querySelector(tag, exceptionState);
-#endif
- }
ec = exceptionState.code();
return element;
}
« no previous file with comments | « Source/core/html/HTMLOptionsCollection.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698