Title: [124165] trunk/Tools
- Revision
- 124165
- Author
- [email protected]
- Date
- 2012-07-30 20:22:11 -0700 (Mon, 30 Jul 2012)
Log Message
Revert r124153 and land the "right" build fix per ap's comment on the bug 92676.
* MiniBrowser/win/BrowserView.cpp:
(BrowserView::create):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (124164 => 124165)
--- trunk/Tools/ChangeLog 2012-07-31 03:17:40 UTC (rev 124164)
+++ trunk/Tools/ChangeLog 2012-07-31 03:22:11 UTC (rev 124165)
@@ -1,3 +1,10 @@
+2012-07-30 Ryosuke Niwa <[email protected]>
+
+ Revert r124153 and land the "right" build fix per ap's comment on the bug 92676.
+
+ * MiniBrowser/win/BrowserView.cpp:
+ (BrowserView::create):
+
2012-07-30 Sam Weinig <[email protected]>
Rename WebKit2.h to WebKit2_C.h
Modified: trunk/Tools/MiniBrowser/win/BrowserView.cpp (124164 => 124165)
--- trunk/Tools/MiniBrowser/win/BrowserView.cpp 2012-07-31 03:17:40 UTC (rev 124164)
+++ trunk/Tools/MiniBrowser/win/BrowserView.cpp 2012-07-31 03:22:11 UTC (rev 124165)
@@ -82,8 +82,14 @@
{
assert(!m_webView);
- WKContextRef context = WKContextGetSharedThreadContext();
+ bool isShiftKeyDown = ::GetKeyState(VK_SHIFT) & HIGH_BIT_MASK_SHORT;
+ WKContextRef context;
+ if (isShiftKeyDown)
+ context = WKContextGetSharedThreadContext();
+ else
+ context = WKContextCreate();
+
m_webView = WKViewCreate(webViewRect, context, 0, parentWindow->window());
WKPageUIClient uiClient = {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes