Title: [151881] trunk/Source/WebKit2
- Revision
- 151881
- Author
- [email protected]
- Date
- 2013-06-22 16:33:48 -0700 (Sat, 22 Jun 2013)
Log Message
Slightly reduce width threshold on detection of primary snapshotted Plug-In
https://bugs.webkit.org/show_bug.cgi?id=117914
<rdar://problem/14136687>
Reviewed by Simon Fraser.
We've noticed some content that should be detected as the primary snapshotted plug-in,
but is just a bit smaller than our 450x300 minimum threshold. Reduce the width to 400.
* WebProcess/WebPage/WebPage.cpp: Change primarySnapshottedPlugInMinimumWidth from 450 to 400.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (151880 => 151881)
--- trunk/Source/WebKit2/ChangeLog 2013-06-22 23:16:42 UTC (rev 151880)
+++ trunk/Source/WebKit2/ChangeLog 2013-06-22 23:33:48 UTC (rev 151881)
@@ -1,3 +1,16 @@
+2013-06-22 Dean Jackson <[email protected]>
+
+ Slightly reduce width threshold on detection of primary snapshotted Plug-In
+ https://bugs.webkit.org/show_bug.cgi?id=117914
+ <rdar://problem/14136687>
+
+ Reviewed by Simon Fraser.
+
+ We've noticed some content that should be detected as the primary snapshotted plug-in,
+ but is just a bit smaller than our 450x300 minimum threshold. Reduce the width to 400.
+
+ * WebProcess/WebPage/WebPage.cpp: Change primarySnapshottedPlugInMinimumWidth from 450 to 400.
+
2013-06-22 Simon Fraser <[email protected]>
screen.availWidth always returns width of primary display
Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (151880 => 151881)
--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2013-06-22 23:16:42 UTC (rev 151880)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2013-06-22 23:33:48 UTC (rev 151881)
@@ -4081,7 +4081,7 @@
static int primarySnapshottedPlugInSearchLimit = 3000;
static int primarySnapshottedPlugInSearchGap = 200;
static float primarySnapshottedPlugInSearchBucketSize = 1.1;
-static int primarySnapshottedPlugInMinimumWidth = 450;
+static int primarySnapshottedPlugInMinimumWidth = 400;
static int primarySnapshottedPlugInMinimumHeight = 300;
#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes