[BlackBerry] Allow plugins to be disabled by shared library filename
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2012 17:53:45 +0000 (17:53 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2012 17:53:45 +0000 (17:53 +0000)
https://bugs.webkit.org/show_bug.cgi?id=101274

Patch by Parth Patel <parpatel@rim.com> on 2012-12-14
Reviewed by Yong Li.

Fixing build error.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::setExtraPluginDirectory):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137753 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/blackberry/Api/WebPage.cpp
Source/WebKit/blackberry/ChangeLog

index ab0d097..bbf6b32 100644 (file)
@@ -5178,7 +5178,7 @@ void WebPage::setExtraPluginDirectory(const BlackBerry::Platform::String& path)
         return;
     
     Vector<String> pluginDirectories = database->pluginDirectories();
-    if (path.empty() || pluginDirectories.contains(path)
+    if (path.empty() || pluginDirectories.contains(String(path)))
         return;
 
     pluginDirectories.append(path);
index ec89e2e..449c5aa 100644 (file)
@@ -1,3 +1,15 @@
+2012-12-14  Parth Patel  <parpatel@rim.com>
+
+        [BlackBerry] Allow plugins to be disabled by shared library filename
+        https://bugs.webkit.org/show_bug.cgi?id=101274
+
+        Reviewed by Yong Li.
+
+        Fixing build error.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPage::setExtraPluginDirectory):
+
 2012-12-13  Jacky Jiang  <zhajiang@rim.com>
 
         [BlackBerry][Fullscreen] Exiting fullscreen does not set the correct scroll position