Changeset 142022 in webkit


Ignore:
Timestamp:
Feb 6, 2013 1:00:16 PM (11 years ago)
Author:
zandobersek@gmail.com
Message:

[WTFURL] Fix erroneous header inclusions in WTFURL code
https://bugs.webkit.org/show_bug.cgi?id=109040

Reviewed by Benjamin Poulain.

Include WTFURL API headers from files in Source/WTF/wtf/url/src
by specifying their relative path to Source/WTF.

  • GNUmakefile.am: The changes make it possible to compile the WTF library

without specifying both Source/WTF/wtf/url/api and Source/WTF/wtf/url/src
as inclusion directories in CPPFLAGS, so remove these two entries.

  • wtf/url/src/RawURLBuffer.h:
  • wtf/url/src/URLCanon.h: Include the URLParse.h header by specifying

only the base name as it's located in the same directory.

  • wtf/url/src/URLCanonQuery.cpp:
  • wtf/url/src/URLUtil.h:
Location:
trunk/Source/WTF
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r142004 r142022  
     12013-02-06  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [WTFURL] Fix erroneous header inclusions in WTFURL code
     4        https://bugs.webkit.org/show_bug.cgi?id=109040
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        Include WTFURL API headers from files in Source/WTF/wtf/url/src
     9        by specifying their relative path to Source/WTF.
     10
     11        * GNUmakefile.am: The changes make it possible to compile the WTF library
     12        without specifying both Source/WTF/wtf/url/api and Source/WTF/wtf/url/src
     13        as inclusion directories in CPPFLAGS, so remove these two entries.
     14        * wtf/url/src/RawURLBuffer.h:
     15        * wtf/url/src/URLCanon.h: Include the URLParse.h header by specifying
     16        only the base name as it's located in the same directory.
     17        * wtf/url/src/URLCanonQuery.cpp:
     18        * wtf/url/src/URLUtil.h:
     19
    1202013-02-06  Tony Gentilcore  <tonyg@chromium.org>
    221
  • trunk/Source/WTF/GNUmakefile.am

    r141622 r142022  
    3636        -I$(srcdir)/Source \
    3737        -I$(srcdir)/Source/WTF \
    38         -I$(srcdir)/Source/WTF/wtf \
    39         -I$(srcdir)/Source/WTF/wtf/url/api \
    40         -I$(srcdir)/Source/WTF/wtf/url/src
     38        -I$(srcdir)/Source/WTF/wtf
  • trunk/Source/WTF/wtf/url/src/RawURLBuffer.h

    r129412 r142022  
    3434#if USE(WTFURL)
    3535
    36 #include "URLBuffer.h"
    3736#include <string.h>
     37#include <wtf/url/api/URLBuffer.h>
    3838
    3939namespace WTF {
  • trunk/Source/WTF/wtf/url/src/URLCanon.h

    r141622 r142022  
    3232#define URLCanon_h
    3333
     34#include "URLParse.h"
    3435#include <stdlib.h>
    3536#include <wtf/unicode/Unicode.h>
    3637#include <wtf/url/api/URLBuffer.h>
    37 #include <wtf/url/src/URLParse.h>
    3838
    3939#if USE(WTFURL)
  • trunk/Source/WTF/wtf/url/src/URLCanonQuery.cpp

    r129413 r142022  
    3636#include "URLCanonInternal.h"
    3737#include "URLCharacterTypes.h"
    38 #include "URLQueryCharsetConverter.h"
    3938#include <wtf/text/ASCIIFastPath.h>
     39#include <wtf/url/api/URLQueryCharsetConverter.h>
    4040
    4141// Query canonicalization in IE
  • trunk/Source/WTF/wtf/url/src/URLUtil.h

    r130609 r142022  
    3333#define URLUtil_h
    3434
    35 #include "URLBuffer.h"
    3635#include "URLCanon.h"
    3736#include "URLParse.h"
    3837#include <wtf/unicode/Unicode.h>
     38#include <wtf/url/api/URLBuffer.h>
    3939
    4040#if USE(WTFURL)
Note: See TracChangeset for help on using the changeset viewer.