Bug 73085 - [chromium] composited layers are not invalidated correctly with a zoom-in page scale factor
Summary: [chromium] composited layers are not invalidated correctly with a zoom-in pag...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Grace Kloba
URL:
Keywords:
Depends on:
Blocks: 66687
  Show dependency treegraph
 
Reported: 2011-11-24 09:51 PST by Grace Kloba
Modified: 2012-10-17 12:56 PDT (History)
10 users (show)

See Also:


Attachments
Patch (5.11 KB, patch)
2011-11-29 17:00 PST, Grace Kloba
jamesr: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grace Kloba 2011-11-24 09:51:14 PST
This is the side effect of https://bugs.webkit.org/show_bug.cgi?id=71225. When page scale factor is greater than one, the invalidation area is not scale correctly. This caused some area are not updated correct when it needs.
Comment 1 Grace Kloba 2011-11-29 17:00:11 PST
Created attachment 117074 [details]
Patch
Comment 2 James Robinson 2011-11-29 17:02:46 PST
Comment on attachment 117074 [details]
Patch

Need a test!
Comment 3 Dana Jansens 2012-07-18 06:44:57 PDT
Comment on attachment 117074 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=117074&action=review

> Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp:684
> -        return pageScaleFactor() * deviceScaleFactor();
> +        return pageScaleFactor();

This is going to break ChromeOS, where pageScaleFactor is 1 but deviceScaleFactor is not (see NonCompositedContentHost.h)
Comment 4 Dana Jansens 2012-07-18 06:46:16 PDT
Comment on attachment 117074 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=117074&action=review

>> Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp:684
>> +        return pageScaleFactor();
> 
> This is going to break ChromeOS, where pageScaleFactor is 1 but deviceScaleFactor is not (see NonCompositedContentHost.h)

Also, note that deviceScaleFactor() would be 1 on non-ChromeOS already (see WebViewImpl.cpp:3685)
Comment 5 Sami Kyöstilä 2012-07-18 06:52:38 PDT
I wonder if this is related: https://bugs.webkit.org/show_bug.cgi?id=88762
Comment 6 Adam Barth 2012-10-17 12:56:31 PDT
This patch appears to no longer be needed.