summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_widget_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/render_widget_helper.h')
-rw-r--r--chrome/browser/render_widget_helper.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/render_widget_helper.h b/chrome/browser/render_widget_helper.h
index 96de62a..7b6295f 100644
--- a/chrome/browser/render_widget_helper.h
+++ b/chrome/browser/render_widget_helper.h
@@ -15,9 +15,12 @@ namespace IPC {
class Message;
}
+namespace base {
+class TimeDelta;
+}
+
class MessageLoop;
class ResourceDispatcherHost;
-class TimeDelta;
// Instantiated per RenderProcessHost to provide various optimizations on
// behalf of a RenderWidgetHost. This class bridges between the IO thread
@@ -97,7 +100,7 @@ class RenderWidgetHelper :
// Called on the UI thread to wait for the next PaintRect message for the
// specified render widget. Returns true if successful, and the msg out-
// param will contain a copy of the received PaintRect message.
- bool WaitForPaintMsg(int render_widget_id, const TimeDelta& max_delay,
+ bool WaitForPaintMsg(int render_widget_id, const base::TimeDelta& max_delay,
IPC::Message* msg);