| 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 53ae7fb450485e947b601030396dc6a051e67803..05fd89661f1d6c8f5ff8a32fcde3bd859d282038 100644
|
| --- a/chrome/browser/ui/gtk/gtk_util.cc
|
| +++ b/chrome/browser/ui/gtk/gtk_util.cc
|
| @@ -1300,7 +1300,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)
|
| @@ -1317,15 +1317,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
|
|
|