[Webkit-unassigned] [Bug 45522] Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 10 09:00:47 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45522


Darin Fisher (:fishd, Google) <fishd at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #67153|review+                     |review-
               Flag|                            |




--- Comment #5 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2010-09-10 09:00:46 PST ---
(From update of attachment 67153)
View in context: https://bugs.webkit.org/attachment.cgi?id=67153&action=prettypatch

> WebKit/chromium/src/FrameLoaderClientImpl.cpp:1401
> +    bool zoomTextOnly = m_webFrame->viewImpl();
viewImpl is of type WebViewImpl*, but you are storing it in a 'bool'.  i think this is going to force zoomTextOnly to always be true.

i think you meant to write m_webFrame->viewImpl()->zoomTextOnly().

> WebKit/chromium/src/WebViewImpl.cpp:1494
> +        m_page->setNeedsRecalcStyleInAllFrames();
why isn't this a byproduct of calling set{Text,Page}ZoomFactor?  isn't unfortunate for WebKit layers to need to understand when to call setNeedsRecalcStyleInAllFrames?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list