summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_operations.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 22:35:27 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 22:35:27 +0000
commitb4bb25099b2bc9b1bc1df1b231c859ef82110e7d (patch)
tree5bf82ee33816b9066e5a829b6a256a747021fc93 /webkit/glue/dom_operations.cc
parent87772ec3b0265c72efd0bace14b30fafeee97769 (diff)
downloadchromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.zip
chromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.tar.gz
chromium_src-b4bb25099b2bc9b1bc1df1b231c859ef82110e7d.tar.bz2
Move various methods from glue/webview.h to api/public/WebView.h
I'll re-order the methods in webview_impl.cc in a follow-up CL. I wanted to keep this one easy to review. SetBackForwardListSize is no longer necessary given that BackForwardListChromium.cpp doesn't care about its capacity. R=dglazkov BUG=10033 TEST=none Originally reviewed here: http://codereview.chromium.org/251051 Review URL: http://codereview.chromium.org/255042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27780 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_operations.cc')
-rw-r--r--webkit/glue/dom_operations.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/dom_operations.cc b/webkit/glue/dom_operations.cc
index be2c7a8..986b61f 100644
--- a/webkit/glue/dom_operations.cc
+++ b/webkit/glue/dom_operations.cc
@@ -481,7 +481,7 @@ WebFrameImpl* GetWebFrameImplFromElement(WebCore::Element* element,
WebCore::HTMLFrameOwnerElement* frame_element =
static_cast<WebCore::HTMLFrameOwnerElement*>(element);
WebCore::Frame* content_frame = frame_element->contentFrame();
- return content_frame ? WebFrameImpl::FromFrame(content_frame) : NULL;
+ return WebFrameImpl::FromFrame(content_frame);
}
}
return NULL;