| 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;
|
| }
|
|
|