Skip to content

Commit

Permalink
* 修复flash的设置页面,无法用鼠标关闭的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
weolar committed Apr 2, 2020
1 parent 5ef5715 commit 196cc2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/browser/WebFrameClientImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ blink::WebPlugin* WebFrameClientImpl::createPlugin(WebLocalFrame* frame, const W
paramNames.append(newParam.attributeNames[i]);
if (String(newParam.attributeValues[i]).lower() != "opaque" &&
String(newParam.attributeValues[i]).lower() != "transparent") {
paramValues.append("opaque");
paramValues.append("transparent");
} else
paramValues.append(newParam.attributeValues[i]);
} else {
Expand All @@ -154,7 +154,7 @@ blink::WebPlugin* WebFrameClientImpl::createPlugin(WebLocalFrame* frame, const W
}
if (!isWmode) {
paramNames.append("wmode");
paramValues.append("opaque");
paramValues.append("transparent");
}

newParam.attributeNames = WebVector<WebString>(paramNames);
Expand Down

0 comments on commit 196cc2e

Please sign in to comment.