Changeset 95154 in webkit


Ignore:
Timestamp:
Sep 14, 2011 7:53:13 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Eliminate WebKit2 compilation warnings.
https://bugs.webkit.org/show_bug.cgi?id=65025

Warnings found with gcc on linux.

Patch by Wajahat Siddiqui <mdwajahatali.siddiqui@motorola.com> on 2011-09-14
Reviewed by Sam Weinig.

  • Platform/CoreIPC/ArgumentEncoder.cpp:

(CoreIPC::ArgumentEncoder::~ArgumentEncoder):

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::createPlugin):

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r95122 r95154  
     12011-09-14  Wajahat Siddiqui  <mdwajahatali.siddiqui@motorola.com>
     2
     3        Eliminate WebKit2 compilation warnings.
     4        https://bugs.webkit.org/show_bug.cgi?id=65025
     5
     6        Warnings found with gcc on linux.
     7
     8        Reviewed by Sam Weinig.
     9
     10        * Platform/CoreIPC/ArgumentEncoder.cpp:
     11        (CoreIPC::ArgumentEncoder::~ArgumentEncoder):
     12        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
     13        (WebKit::WebFrameLoaderClient::createPlugin):
     14
    1152011-09-14  Ada Chan  <adachan@apple.com>
    216
  • trunk/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp

    r93754 r95154  
    5555    // FIXME: We need to dispose of the attachments in cases of failure.
    5656#else
    57     for (int i = 0; i < m_attachments.size(); ++i)
     57    for (size_t i = 0; i < m_attachments.size(); ++i)
    5858        m_attachments[i].dispose();
    5959#endif
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp

    r94889 r95154  
    12671267        // Inject wmode=opaque to make Flash work in these conditions.
    12681268        size_t wmodeIndex = parameters.names.find("wmode");
    1269         if (wmodeIndex == -1) {
     1269        if (wmodeIndex == notFound) {
    12701270            parameters.names.append("wmode");
    12711271            parameters.values.append("opaque");
Note: See TracChangeset for help on using the changeset viewer.