Index: content/renderer/pepper/pepper_graphics_2d_host_unittest.cc |
diff --git a/content/renderer/pepper/pepper_graphics_2d_host_unittest.cc b/content/renderer/pepper/pepper_graphics_2d_host_unittest.cc |
index d16c86314b68dcf2ac13867e51fc6936cef21a69..8914a3d8011c2cb428b9c302d8fde9a22ab0072d 100644 |
--- a/content/renderer/pepper/pepper_graphics_2d_host_unittest.cc |
+++ b/content/renderer/pepper/pepper_graphics_2d_host_unittest.cc |
@@ -15,6 +15,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/WebKit/public/platform/WebCanvas.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
+#include "ui/events/latency_info.h" |
#include "ui/gfx/point.h" |
#include "ui/gfx/rect.h" |
@@ -64,7 +65,8 @@ class PepperGraphics2DHostTest : public testing::Test { |
void Flush() { |
ppapi::host::HostMessageContext context( |
ppapi::proxy::ResourceMessageCallParams(host_->pp_resource(), 0)); |
- host_->OnHostMsgFlush(&context); |
+ std::vector<ui::LatencyInfo> latency; |
+ host_->OnHostMsgFlush(&context, latency); |
host_->ViewFlushedPaint(); |
host_->SendOffscreenFlushAck(); |
} |