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

Unified Diff: content/renderer/render_view.cc

Issue 6688054: Move geolocation, desktop notification, and device orientation into their own message files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « content/renderer/notification_provider.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view.cc
===================================================================
--- content/renderer/render_view.cc (revision 78781)
+++ content/renderer/render_view.cc (working copy)
@@ -2629,11 +2629,8 @@
WebPlugin* RenderView::createPlugin(WebFrame* frame,
const WebPluginParams& params) {
- WebPlugin* plugin = content::GetContentClient()->renderer()->CreatePlugin(
+ return content::GetContentClient()->renderer()->CreatePlugin(
this, frame, params);
- if (!plugin)
- plugin = CreatePluginNoCheck(frame, params);
- return plugin;
}
WebWorker* RenderView::createWorker(WebFrame* frame, WebWorkerClient* client) {
« no previous file with comments | « content/renderer/notification_provider.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698