Index: content/plugin/webplugin_proxy.cc |
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc |
index 91980f6e440ec95d3f5d0c00b00776d9af53aa21..43e177c7dba0d66e6509590c0cc73cafd8ea0419 100644 |
--- a/content/plugin/webplugin_proxy.cc |
+++ b/content/plugin/webplugin_proxy.cc |
@@ -199,9 +199,11 @@ void WebPluginProxy::InvalidateRect(const gfx::Rect& rect) { |
waiting_for_paint_ = true; |
// Invalidates caused by calls to NPN_InvalidateRect/NPN_InvalidateRgn |
// need to be painted asynchronously as per the NPAPI spec. |
- MessageLoop::current()->PostTask(FROM_HERE, |
- base::Bind(&WebPluginProxy::OnPaint, weak_factory_.GetWeakPtr(), |
- damaged_rect_)); |
+ base::MessageLoop::current()->PostTask( |
+ FROM_HERE, |
+ base::Bind(&WebPluginProxy::OnPaint, |
+ weak_factory_.GetWeakPtr(), |
+ damaged_rect_)); |
damaged_rect_ = gfx::Rect(); |
} |
} |