| Index: chrome/browser/ui/gtk/gtk_util.cc
|
| diff --git a/chrome/browser/ui/gtk/gtk_util.cc b/chrome/browser/ui/gtk/gtk_util.cc
|
| index 5614e1f26c56b326221ebca5b4f1d9530bb15864..eac2dcc83ea8f919b62665f944b27ff37f9f112e 100644
|
| --- a/chrome/browser/ui/gtk/gtk_util.cc
|
| +++ b/chrome/browser/ui/gtk/gtk_util.cc
|
| @@ -1299,7 +1299,7 @@ void ApplyMessageDialogQuirks(GtkWidget* dialog) {
|
| // against the focused widget.
|
| // TODO(suzhe): This approach does not work for plugins.
|
| void DoCutCopyPaste(BrowserWindow* window,
|
| - void (RenderViewHost::*method)(),
|
| + void (RenderWidgetHost::*method)(),
|
| const char* signal) {
|
| GtkWidget* widget = GetBrowserWindowFocusedWidget(window);
|
| if (widget == NULL)
|
| @@ -1316,15 +1316,15 @@ void DoCutCopyPaste(BrowserWindow* window,
|
| }
|
|
|
| void DoCut(BrowserWindow* window) {
|
| - DoCutCopyPaste(window, &RenderViewHost::Cut, "cut-clipboard");
|
| + DoCutCopyPaste(window, &RenderWidgetHost::Cut, "cut-clipboard");
|
| }
|
|
|
| void DoCopy(BrowserWindow* window) {
|
| - DoCutCopyPaste(window, &RenderViewHost::Copy, "copy-clipboard");
|
| + DoCutCopyPaste(window, &RenderWidgetHost::Copy, "copy-clipboard");
|
| }
|
|
|
| void DoPaste(BrowserWindow* window) {
|
| - DoCutCopyPaste(window, &RenderViewHost::Paste, "paste-clipboard");
|
| + DoCutCopyPaste(window, &RenderWidgetHost::Paste, "paste-clipboard");
|
| }
|
|
|
| } // namespace gtk_util
|
|
|