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

Unified Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 11111020: <browser>: Always read <browser>.src attribute from <object>.src. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename dir. Created 8 years, 2 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/browser_plugin/browser_plugin.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index adde725e61b83c614b638541935b9a737c56661b..13abce5a07477270ce9ddf26fd3d866244db5fa7 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -136,7 +136,8 @@ void BrowserPlugin::SetSrcAttribute(const std::string& src) {
// cannot be changed, so this value is used for enforcing this.
navigate_src_sent_ = true;
}
- src_ = src;
+ if (!src.empty())
Fady Samuel 2012/10/12 18:54:44 Hmm, do we want to continue doing the rest of Brow
lazyboy 2012/10/12 19:16:18 I think we need to send the resize params above ot
+ src_ = src;
guest_crashed_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698