| 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 748eb7838e28c10cb1d62ee2a538d45690347b48..9c8869f1fff8ef3497d38f63a08f90766c4ca171 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin.cc
|
| @@ -142,9 +142,8 @@ void BrowserPlugin::UpdateDOMAttribute(const std::string& attribute_name,
|
| return;
|
|
|
| blink::WebElement element = container()->element();
|
| - blink::WebString web_attribute_name =
|
| - blink::WebString::fromUTF8(attribute_name);
|
| - element.setAttribute(web_attribute_name, attribute_value);
|
| + element.setAttribute(blink::WebString::fromUTF8(attribute_name),
|
| + blink::WebString::fromUTF16(attribute_value));
|
| }
|
|
|
| void BrowserPlugin::Attach() {
|
|
|