Commit 19587223 authored by bdakin@apple.com's avatar bdakin@apple.com

Change z-component to 1.

Reviewed by Simon Fraser.

* WebView/WebHTMLView.mm:
(-[WebHTMLView viewDidMoveToWindow]):
(-[WebHTMLView attachRootLayer:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d72d2928
2010-05-27 Beth Dakin <bdakin@apple.com>
Reviewed by Simon Fraser.
Change z-component to 1.
* WebView/WebHTMLView.mm:
(-[WebHTMLView viewDidMoveToWindow]):
(-[WebHTMLView attachRootLayer:]):
2010-05-26 Simon Fraser <simon.fraser@apple.com>
Reviewed by Beth Dakin and Darin Adler.
......
......@@ -3062,7 +3062,7 @@ WEBCORE_COMMAND(yankAndSelect)
// now that we have a window to get it from.
if (_private->layerHostingView) {
CGFloat scaleFactor = [[self window] userSpaceScaleFactor];
[[_private->layerHostingView layer] setTransform:CATransform3DMakeScale(scaleFactor, scaleFactor, scaleFactor)];
[[_private->layerHostingView layer] setTransform:CATransform3DMakeScale(scaleFactor, scaleFactor, 1)];
}
#endif
}
......@@ -5574,7 +5574,7 @@ static CGPoint coreGraphicsScreenPointForAppKitScreenPoint(NSPoint point)
// If we aren't in the window yet, we'll use the screen's scale factor now, and reset the scale
// via -viewDidMoveToWindow.
CGFloat scaleFactor = [self window] ? [[self window] userSpaceScaleFactor] : [[NSScreen mainScreen] userSpaceScaleFactor];
[viewLayer setTransform:CATransform3DMakeScale(scaleFactor, scaleFactor, scaleFactor)];
[viewLayer setTransform:CATransform3DMakeScale(scaleFactor, scaleFactor, 1)];
#endif
[_private->layerHostingView setLayer:viewLayer];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment