| Index: content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| index 98ca698ed56415c5ab34ced2dbebc7737345efd6..a74ddf143af237132d806ed4b826d4d932ab65cb 100644
|
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| @@ -3213,7 +3213,7 @@ int32_t PepperPluginInstanceImpl::Navigate(
|
| web_request.setHasUserGesture(from_user_action);
|
|
|
| GURL gurl(web_request.url());
|
| - if (gurl.SchemeIs("javascript")) {
|
| + if (gurl.SchemeIs(url::kJavaScriptScheme)) {
|
| // In imitation of the NPAPI implementation, only |target_frame == frame| is
|
| // allowed for security reasons.
|
| WebFrame* target_frame =
|
|
|