Bug 132553 - [iOS][WK2] Special case ViewGestureGeometryCollector::collectGeometryForSmartMagnificationGesture() for image documents
Summary: [iOS][WK2] Special case ViewGestureGeometryCollector::collectGeometryForSmart...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-04 19:33 PDT by Benjamin Poulain
Modified: 2014-05-05 14:13 PDT (History)
4 users (show)

See Also:


Attachments
Patch (6.36 KB, patch)
2014-05-04 19:37 PDT, Benjamin Poulain
no flags Details | Formatted Diff | Diff
Patch (9.91 KB, patch)
2014-05-05 14:02 PDT, Benjamin Poulain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Poulain 2014-05-04 19:33:58 PDT
[iOS][WK2] Special case ViewGestureGeometryCollector::collectGeometryForSmartMagnificationGesture() for image documents
Comment 1 Benjamin Poulain 2014-05-04 19:37:47 PDT
Created attachment 230804 [details]
Patch
Comment 2 Tim Horton 2014-05-04 19:41:23 PDT
Comment on attachment 230804 [details]
Patch

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

> Source/WebCore/html/ImageDocument.h:33
> +class HTMLImageElement;

Why is this here?

> Source/WebCore/html/ImageDocument.h:42
> +    Element* imageElement() const;

Can this type be more specific? Can it be a reference?

> Source/WebKit2/WebProcess/WebPage/ViewGestureGeometryCollector.cpp:94
> +#if PLATFORM(IOS)

I think you should do this everywhere, not just iOS.
Comment 3 Benjamin Poulain 2014-05-05 14:02:52 PDT
Created attachment 230855 [details]
Patch
Comment 4 Benjamin Poulain 2014-05-05 14:13:47 PDT
Comment on attachment 230855 [details]
Patch

Clearing flags on attachment: 230855

Committed r168316: <http://trac.webkit.org/changeset/168316>
Comment 5 Benjamin Poulain 2014-05-05 14:13:53 PDT
All reviewed patches have been landed.  Closing bug.