Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: content/renderer/pepper/plugin_instance_throttler_impl.cc

Issue 1341563002: Plugin Power Saver: Improve origin handling esp. with OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/plugin_instance_throttler_impl.cc
diff --git a/content/renderer/pepper/plugin_instance_throttler_impl.cc b/content/renderer/pepper/plugin_instance_throttler_impl.cc
index 00eecbb80dc94f9a8ba0b3b53f54bb5d2b5f3471..3f36e755a4c516033f94984ea8520f56cbbb91b3 100644
--- a/content/renderer/pepper/plugin_instance_throttler_impl.cc
+++ b/content/renderer/pepper/plugin_instance_throttler_impl.cc
@@ -18,7 +18,7 @@
#include "third_party/WebKit/public/web/WebPluginContainer.h"
#include "third_party/WebKit/public/web/WebPluginParams.h"
#include "ui/gfx/color_utils.h"
-#include "url/gurl.h"
+#include "url/origin.h"
namespace content {
@@ -158,7 +158,7 @@ void PluginInstanceThrottlerImpl::SetWebPlugin(
void PluginInstanceThrottlerImpl::Initialize(
RenderFrameImpl* frame,
- const GURL& content_origin,
+ const url::Origin& content_origin,
const std::string& plugin_module_name,
const gfx::Size& unobscured_size) {
DCHECK(unobscured_size_.IsEmpty());

Powered by Google App Engine
This is Rietveld 408576698