Index: content/browser/renderer_host/render_widget_host_unittest.cc |
=================================================================== |
--- content/browser/renderer_host/render_widget_host_unittest.cc (revision 91968) |
+++ content/browser/renderer_host/render_widget_host_unittest.cc (working copy) |
@@ -219,11 +219,11 @@ |
size_ = size; |
} |
- void Observe(NotificationType type, |
+ void Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
if (type == |
- NotificationType::RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK) { |
+ content::NOTIFICATION_RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK) { |
RenderWidgetHost::PaintAtSizeAckDetails* size_ack_details = |
Details<RenderWidgetHost::PaintAtSizeAckDetails>(details).ptr(); |
WidgetDidReceivePaintAtSizeAck( |
@@ -574,7 +574,7 @@ |
MockPaintingObserver observer; |
registrar.Add( |
&observer, |
- NotificationType::RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK, |
+ content::NOTIFICATION_RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK, |
Source<RenderWidgetHost>(host_.get())); |
host_->OnMsgPaintAtSizeAck(kPaintAtSizeTag, gfx::Size(20, 30)); |