| Index: webkit/tools/test_shell/test_webview_delegate.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_webview_delegate.cc (revision 20187)
|
| +++ webkit/tools/test_shell/test_webview_delegate.cc (working copy)
|
| @@ -744,15 +744,6 @@
|
|
|
| // WebWidgetDelegate ---------------------------------------------------------
|
|
|
| -gfx::NativeViewId TestWebViewDelegate::GetContainingView(WebWidget* webwidget) {
|
| - // For test shell, we pack a NativeView pointer into the NativeViewId since
|
| - // everything is single process.
|
| - if (WebWidgetHost* host = GetHostForWidget(webwidget))
|
| - return gfx::IdFromNativeView(host->view_handle());
|
| -
|
| - return NULL;
|
| -}
|
| -
|
| void TestWebViewDelegate::DidInvalidateRect(WebWidget* webwidget,
|
| const WebRect& rect) {
|
| if (WebWidgetHost* host = GetHostForWidget(webwidget))
|
|
|