Index: chrome/renderer/worker_content_settings_client.cc |
diff --git a/chrome/renderer/worker_content_settings_client.cc b/chrome/renderer/worker_content_settings_client.cc |
index afa0053696228191b92aea67717ec52561f4ff0b..56d9d140f69120e8fb23c21f5a6f37b043c1d794 100644 |
--- a/chrome/renderer/worker_content_settings_client.cc |
+++ b/chrome/renderer/worker_content_settings_client.cc |
@@ -11,13 +11,13 @@ |
#include "third_party/WebKit/public/platform/URLConversion.h" |
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
#include "third_party/WebKit/public/web/WebDocument.h" |
-#include "third_party/WebKit/public/web/WebFrame.h" |
+#include "third_party/WebKit/public/web/WebLocalFrame.h" |
#include "url/origin.h" |
WorkerContentSettingsClient::WorkerContentSettingsClient( |
- content::RenderFrame* render_frame, |
- blink::WebFrame* frame) |
+ content::RenderFrame* render_frame) |
: routing_id_(render_frame->GetRoutingID()), is_unique_origin_(false) { |
+ blink::WebLocalFrame* frame = render_frame->GetWebFrame(); |
if (frame->GetDocument().GetSecurityOrigin().IsUnique() || |
frame->Top()->GetSecurityOrigin().IsUnique()) |
is_unique_origin_ = true; |