Changeset 115206 in webkit


Ignore:
Timestamp:
Apr 25, 2012, 7:42:24 AM (13 years ago)
Author:
gavinp@chromium.org
Message:

[Chromium] Fix some conditional compilation logic in Platform
https://bugs.webkit.org/show_bug.cgi?id=83798

Reviewed by Darin Fisher.

Source/Platform:

  • chromium/public/WebURLError.h:

(WebURLError):

  • chromium/public/WebURLRequest.h:

(WebURLRequest):

  • chromium/public/WebURLResponse.h:

(WebURLResponse):

Source/WebKit/chromium:

  • tests/WebFrameTest.cpp:

(WebKit::TestReloadDoesntRedirectWebFrameClient::cancelledError):

Location:
trunk/Source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/Platform/ChangeLog

    r115200 r115206  
     12012-04-25  Gavin Peters  <gavinp@chromium.org>
     2
     3        [Chromium] Fix some conditional compilation logic in Platform
     4        https://bugs.webkit.org/show_bug.cgi?id=83798
     5
     6        Reviewed by Darin Fisher.
     7
     8        * chromium/public/WebURLError.h:
     9        (WebURLError):
     10        * chromium/public/WebURLRequest.h:
     11        (WebURLRequest):
     12        * chromium/public/WebURLResponse.h:
     13        (WebURLResponse):
     14
    1152012-04-25  Gavin Peters  <gavinp@chromium.org>
    216
  • trunk/Source/Platform/chromium/public/WebURLError.h

    r115086 r115206  
    3535#include "WebURL.h"
    3636
    37 #if defined(WEBKIT_IMPLEMENTATION)
     37#if WEBKIT_IMPLEMENTATION
    3838namespace WebCore { class ResourceError; }
    3939#endif
     
    6565    WebURLError() : reason(0), isCancellation(false) { }
    6666
    67 #if defined(WEBKIT_IMPLEMENTATION)
     67#if WEBKIT_IMPLEMENTATION
    6868    WebURLError(const WebCore::ResourceError&);
    6969    WebURLError& operator=(const WebCore::ResourceError&);
  • trunk/Source/Platform/chromium/public/WebURLRequest.h

    r112501 r115206  
    3535#include "WebHTTPBody.h"
    3636
    37 #if defined(WEBKIT_IMPLEMENTATION)
     37#if WEBKIT_IMPLEMENTATION
    3838namespace WebCore { class ResourceRequest; }
    3939#endif
     
    183183    WEBKIT_EXPORT void setExtraData(ExtraData*);
    184184
    185 #if defined(WEBKIT_IMPLEMENTATION)
     185#if WEBKIT_IMPLEMENTATION
    186186    WebCore::ResourceRequest& toMutableResourceRequest();
    187187    const WebCore::ResourceRequest& toResourceRequest() const;
  • trunk/Source/Platform/chromium/public/WebURLResponse.h

    r112501 r115206  
    3535#include "WebPrivateOwnPtr.h"
    3636
    37 #if defined(WEBKIT_IMPLEMENTATION)
     37#if WEBKIT_IMPLEMENTATION
    3838namespace WebCore { class ResourceResponse; }
    3939#endif
     
    134134    WEBKIT_EXPORT void setSecurityInfo(const WebCString&);
    135135
    136 #if defined(WEBKIT_IMPLEMENTATION)
     136#if WEBKIT_IMPLEMENTATION
    137137    WebCore::ResourceResponse& toMutableResourceResponse();
    138138    const WebCore::ResourceResponse& toResourceResponse() const;
  • trunk/Source/WebKit/chromium/ChangeLog

    r115205 r115206  
     12012-04-25  Gavin Peters  <gavinp@chromium.org>
     2
     3        [Chromium] Fix some conditional compilation logic in Platform
     4        https://bugs.webkit.org/show_bug.cgi?id=83798
     5
     6        Reviewed by Darin Fisher.
     7
     8        * tests/WebFrameTest.cpp:
     9        (WebKit::TestReloadDoesntRedirectWebFrameClient::cancelledError):
     10
    1112012-04-25  Yury Semikhatsky  <yurys@chromium.org>
    212
  • trunk/Source/WebKit/chromium/tests/WebFrameTest.cpp

    r113782 r115206  
    274274        // Return a dummy error so the DocumentLoader doesn't assert when
    275275        // the reload cancels it.
    276         return WebURLError(WebCore::ResourceError("", 1, "", "cancelled"));
     276        WebURLError webURLError;
     277        webURLError.domain = "";
     278        webURLError.reason = 1;
     279        webURLError.isCancellation = true;
     280        webURLError.unreachableURL = WebURL();
     281        return webURLError;
    277282    }
    278283};
Note: See TracChangeset for help on using the changeset viewer.