Index: content/browser/renderer_host/render_view_host_browsertest.cc |
=================================================================== |
--- content/browser/renderer_host/render_view_host_browsertest.cc (revision 91968) |
+++ content/browser/renderer_host/render_view_host_browsertest.cc (working copy) |
@@ -26,7 +26,7 @@ |
public: |
ExecuteNotificationObserver() : id_(0) {} |
- virtual void Observe(NotificationType type, |
+ virtual void Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
id_ = (static_cast<Details<ExecuteDetailType > >(details))->first; |
@@ -65,7 +65,7 @@ |
ExecuteNotificationObserver observer; |
ui_test_utils::RegisterAndWait( |
out_result, |
- NotificationType::EXECUTE_JAVASCRIPT_RESULT, |
+ content::NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, |
Source<RenderViewHost>(rvh)); |
EXPECT_EQ(execute_id, out_result->id()); |
ASSERT_TRUE(out_result->value()); |