Changeset 71030 in webkit


Ignore:
Timestamp:
Nov 1, 2010 8:50:19 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-11-01 Søren Gjesse <sgjesse@chromium.org>

Reviewed by Andreas Kling.

Fix warning when compiling the chromium port of DumpRenderShell
with clang.
https://bugs.webkit.org/show_bug.cgi?id=48414

  • DumpRenderTree/chromium/TestShell.h: (TestShell::javaScriptFlagsForLoad):
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r71023 r71030  
     12010-11-01  Søren Gjesse  <sgjesse@chromium.org>
     2
     3        Reviewed by Andreas Kling.
     4
     5        Fix warning when compiling the chromium port of DumpRenderShell
     6        with clang.
     7        https://bugs.webkit.org/show_bug.cgi?id=48414
     8
     9        * DumpRenderTree/chromium/TestShell.h:
     10        (TestShell::javaScriptFlagsForLoad):
     11
    1122010-11-01  Adam Roben  <aroben@apple.com>
    213
  • trunk/WebKitTools/DumpRenderTree/chromium/TestShell.h

    r70537 r71030  
    145145    // which can contain multiple flags (e.g. "--xxx --yyy"). With multiple load testing it is possible to specify
    146146    // separate sets of flags to each load.
    147     std::string javaScriptFlagsForLoad(size_t load) { return (load >= 0 && load < m_javaScriptFlags.size()) ? m_javaScriptFlags[load] : ""; }
     147    std::string javaScriptFlagsForLoad(size_t load) { return (load < m_javaScriptFlags.size()) ? m_javaScriptFlags[load] : ""; }
    148148    void setJavaScriptFlags(Vector<std::string> javaScriptFlags) { m_javaScriptFlags = javaScriptFlags; }
    149149
Note: See TracChangeset for help on using the changeset viewer.