| Index: chrome/renderer/render_view.cc
|
| ===================================================================
|
| --- chrome/renderer/render_view.cc (revision 62937)
|
| +++ chrome/renderer/render_view.cc (working copy)
|
| @@ -4066,12 +4066,8 @@
|
| const WebPluginParams& params,
|
| const FilePath& path,
|
| const std::string& mime_type) {
|
| - std::string actual_mime_type(mime_type);
|
| - if (actual_mime_type.empty())
|
| - actual_mime_type = params.mimeType.utf8();
|
| -
|
| - return new webkit_glue::WebPluginImpl(frame, params, path,
|
| - actual_mime_type, AsWeakPtr());
|
| + return new webkit_glue::WebPluginImpl(
|
| + frame, params, path, mime_type, AsWeakPtr());
|
| }
|
|
|
| WebPlugin* RenderView::CreateOutdatedPluginPlaceholder(
|
|
|