summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_contents.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 18:23:44 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 18:23:44 +0000
commit7a2c14224b1e53691c2846a0f84cb5f5fcabfc69 (patch)
tree2739ae86e9b52875014133fb81d5e6e18ec4fed4 /chrome/browser/tab_contents/web_contents.cc
parent7db46a1fd14a4f3e2e16a7b913e44c471f354ee1 (diff)
downloadchromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.zip
chromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.tar.gz
chromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.tar.bz2
Try reverting r9409 to see if it fixes crashes on chromebot.
TBR=avi Review URL: http://codereview.chromium.org/21215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents.cc')
-rw-r--r--chrome/browser/tab_contents/web_contents.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/web_contents.cc b/chrome/browser/tab_contents/web_contents.cc
index 1670493..ec55a6c 100644
--- a/chrome/browser/tab_contents/web_contents.cc
+++ b/chrome/browser/tab_contents/web_contents.cc
@@ -499,17 +499,17 @@ void WebContents::CreateView() {
view_->CreateView();
}
-gfx::NativeView WebContents::GetNativeView() const {
+#if defined(OS_WIN)
+HWND WebContents::GetContainerHWND() const {
return view_->GetNativeView();
}
-
-gfx::NativeView WebContents::GetContentNativeView() {
+HWND WebContents::GetContentHWND() {
return view_->GetContentNativeView();
}
-
void WebContents::GetContainerBounds(gfx::Rect *out) const {
view_->GetContainerBounds(out);
}
+#endif
void WebContents::CreateShortcut() {
NavigationEntry* entry = controller()->GetLastCommittedEntry();