Index: blimp/client/app/android/blimp_view.cc |
diff --git a/blimp/client/app/android/blimp_view.cc b/blimp/client/app/android/blimp_view.cc |
index 50bde2bd982fb621590725c77d8a3067abe87500..37db8ed0de5ae31539dfedb12b0bf5f8ba7cbc4f 100644 |
--- a/blimp/client/app/android/blimp_view.cc |
+++ b/blimp/client/app/android/blimp_view.cc |
@@ -32,8 +32,7 @@ |
return reinterpret_cast<intptr_t>(new BlimpView( |
env, jobj, gfx::Size(real_width, real_height), gfx::Size(width, height), |
- dp_to_px, client_session->GetRenderWidgetFeature(), |
- client_session->GetBlimpConnectionStatistics())); |
+ dp_to_px, client_session->GetRenderWidgetFeature())); |
} |
// static |
@@ -46,8 +45,7 @@ |
const gfx::Size& real_size, |
const gfx::Size& size, |
float dp_to_px, |
- RenderWidgetFeature* render_widget_feature, |
- BlimpConnectionStatistics* blimp_connection_statistics) |
+ RenderWidgetFeature* render_widget_feature) |
: device_scale_factor_(dp_to_px), |
compositor_manager_( |
BlimpCompositorManagerAndroid::Create(real_size, |
@@ -55,8 +53,7 @@ |
render_widget_feature, |
this)), |
current_surface_format_(0), |
- window_(gfx::kNullAcceleratedWidget), |
- blimp_connection_statistics_(blimp_connection_statistics) { |
+ window_(gfx::kNullAcceleratedWidget) { |
java_obj_.Reset(env, jobj); |
} |
@@ -183,10 +180,5 @@ |
Java_BlimpView_onSwapBuffersCompleted(env, java_obj_.obj()); |
} |
-void BlimpView::DidCommitAndDrawFrame() { |
- DCHECK(blimp_connection_statistics_); |
- blimp_connection_statistics_->Add(BlimpConnectionStatistics::COMMIT, 1); |
-} |
- |
} // namespace client |
} // namespace blimp |