Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / plugins / renderer / mobile_youtube_plugin.cc
index 0fc3d4a..7ed4540 100644 (file)
@@ -51,7 +51,7 @@ bool IsValidYouTubeVideo(const std::string& path) {
   if (path.length() <= len)
     return false;
 
-  std::string str = StringToLowerASCII(path);
+  std::string str = base::StringToLowerASCII(path);
   // Youtube flash url can start with /v/ or /e/.
   if (strncmp(str.data(), kSlashVSlash, len) != 0 &&
       strncmp(str.data(), kSlashESlash, len) != 0)
@@ -74,7 +74,7 @@ bool IsValidYouTubeVideo(const std::string& path) {
 namespace plugins {
 
 MobileYouTubePlugin::MobileYouTubePlugin(content::RenderFrame* render_frame,
-                                         blink::WebFrame* frame,
+                                         blink::WebLocalFrame* frame,
                                          const blink::WebPluginParams& params,
                                          base::StringPiece& template_html,
                                          GURL placeholderDataUrl)