Bug 78911 - Fix some warnings encountered during the GTK+ build
Summary: Fix some warnings encountered during the GTK+ build
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Martin Robinson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-17 10:24 PST by Martin Robinson
Modified: 2012-02-17 10:52 PST (History)
2 users (show)

See Also:


Attachments
Patch (6.48 KB, patch)
2012-02-17 10:28 PST, Martin Robinson
xan.lopez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2012-02-17 10:24:23 PST
This bug tracks fixing a few warnings encountered during the GTK+ build.
Comment 1 Martin Robinson 2012-02-17 10:28:00 PST
Created attachment 127607 [details]
Patch
Comment 2 Xan Lopez 2012-02-17 10:37:03 PST
Comment on attachment 127607 [details]
Patch

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

> Source/WebCore/page/GestureTapHighlighter.cpp:182
> +        LayoutRect next = i != (drawableRects.size() - 1) ? drawableRects.at(i + 1) : LayoutRect();

I think < fits better the spirit of this code, tbh. So, i < (drawableRects.size - 1).
Comment 3 Martin Robinson 2012-02-17 10:52:09 PST
Committed r108095: <http://trac.webkit.org/changeset/108095>