Index: content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc |
diff --git a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc |
index 65bef9399e3b9fa899ffc6257efa8a5fd9ec3b1a..5986cdeae0e940a8ea0bfbc4f6c543dddf5e044b 100644 |
--- a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc |
+++ b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc |
@@ -15,12 +15,12 @@ |
#include "third_party/WebKit/public/web/WebInputEvent.h" |
#include "third_party/WebKit/public/web/WebPluginParams.h" |
#include "ui/gfx/canvas.h" |
+#include "url/gurl.h" |
+#include "url/origin.h" |
using testing::_; |
using testing::Return; |
-class GURL; |
- |
namespace content { |
class PluginInstanceThrottlerImplTest |
@@ -37,7 +37,7 @@ class PluginInstanceThrottlerImplTest |
void SetUp() override { |
throttler_.reset(new PluginInstanceThrottlerImpl); |
- throttler_->Initialize(nullptr, GURL("http://example.com"), |
+ throttler_->Initialize(nullptr, url::Origin(GURL("http://example.com")), |
"Shockwave Flash", gfx::Size(100, 100)); |
throttler_->AddObserver(this); |
} |