Skip to content

Commit c61ba3a

Browse files
committed
refactor code to chromium style
1 parent 07fa133 commit c61ba3a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

content/public/renderer/content_renderer_client.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ bool ContentRendererClient::OverrideCreatePlugin(
2626
return false;
2727
}
2828

29+
bool ContentRendererClient::WillSetSecurityToken(WebKit::WebFrame* frame,
30+
v8::Handle<v8::Context>) {
31+
return false;
32+
}
33+
2934
WebKit::WebPlugin* ContentRendererClient::CreatePluginReplacement(
3035
RenderView* render_view,
3136
const base::FilePath& plugin_path) {

content/public/renderer/content_renderer_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class CONTENT_EXPORT ContentRendererClient {
202202
v8::Handle<v8::Context>,
203203
int world_id) {}
204204
virtual bool WillSetSecurityToken(WebKit::WebFrame* frame,
205-
v8::Handle<v8::Context>) { return false; }
205+
v8::Handle<v8::Context>);
206206

207207
// See WebKit::Platform.
208208
virtual unsigned long long VisitedLinkHash(const char* canonical_url,

0 commit comments

Comments
 (0)