⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 117798 in webkit


Ignore:
Timestamp:
May 21, 2012, 10:25:35 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

GCC 4.7 and C++11
https://bugs.webkit.org/show_bug.cgi?id=86465

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-05-21
Reviewed by Darin Adler.

Source/WebCore:

Avoid triggering C++11 string literals and use nullptr for correct type casting.

  • bindings/js/JSNodeFilterCondition.cpp:

(WebCore::JSNodeFilterCondition::JSNodeFilterCondition):

  • platform/sql/SQLiteFileSystem.cpp:

(WebCore::SQLiteFileSystem::getFileNameForNewDatabase):

Source/WebKit2:

Avoid triggering C++11 string literals.

  • UIProcess/API/qt/tests/inspectorserver/tst_inspectorserver.cpp:
Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117797 r117798  
     12012-05-21  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
     2
     3        GCC 4.7 and C++11
     4        https://bugs.webkit.org/show_bug.cgi?id=86465
     5
     6        Reviewed by Darin Adler.
     7
     8        Avoid triggering C++11 string literals and use nullptr for correct type casting.
     9
     10        * bindings/js/JSNodeFilterCondition.cpp:
     11        (WebCore::JSNodeFilterCondition::JSNodeFilterCondition):
     12        * platform/sql/SQLiteFileSystem.cpp:
     13        (WebCore::SQLiteFileSystem::getFileNameForNewDatabase):
     14
    1152012-05-18  Michael Nordman  <michaeln@google.com>
    216
  • trunk/Source/WebCore/bindings/js/JSNodeFilterCondition.cpp

    r115545 r117798  
    3535
    3636JSNodeFilterCondition::JSNodeFilterCondition(JSGlobalData&, NodeFilter* owner, JSValue filter)
    37     : m_filter(filter.isObject() ? PassWeak<JSObject>(jsCast<JSObject*>(filter), &m_weakOwner, owner) : 0)
     37    : m_filter(filter.isObject() ? PassWeak<JSObject>(jsCast<JSObject*>(filter), &m_weakOwner, owner) : nullptr)
    3838{
    3939}
  • trunk/Source/WebCore/platform/sql/SQLiteFileSystem.cpp

    r96123 r117798  
    7676    do {
    7777        ++seq;
    78         fileName = pathByAppendingComponent(dbDir, String::format("%016"PRIx64".db", seq));
     78        fileName = pathByAppendingComponent(dbDir, String::format("%016" PRIx64 ".db", seq));
    7979    } while (fileExists(fileName));
    8080
    81     return String::format("%016"PRIx64".db", seq);
     81    return String::format("%016" PRIx64 ".db", seq);
    8282}
    8383
  • trunk/Source/WebKit2/ChangeLog

    r117777 r117798  
     12012-05-21  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
     2
     3        GCC 4.7 and C++11
     4        https://bugs.webkit.org/show_bug.cgi?id=86465
     5
     6        Reviewed by Darin Adler.
     7
     8        Avoid triggering C++11 string literals.
     9
     10        * UIProcess/API/qt/tests/inspectorserver/tst_inspectorserver.cpp:
     11
    1122012-05-21  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
    213
  • trunk/Source/WebKit2/UIProcess/API/qt/tests/inspectorserver/tst_inspectorserver.cpp

    r113861 r117798  
    3131
    3232#define INSPECTOR_SERVER_PORT "23654"
    33 static const QUrl s_inspectorServerHttpBaseUrl("http://localhost:"INSPECTOR_SERVER_PORT);
    34 static const QUrl s_inspectorServerWebSocketBaseUrl("ws://localhost:"INSPECTOR_SERVER_PORT);
     33static const QUrl s_inspectorServerHttpBaseUrl("http://localhost:" INSPECTOR_SERVER_PORT);
     34static const QUrl s_inspectorServerWebSocketBaseUrl("ws://localhost:" INSPECTOR_SERVER_PORT);
    3535
    3636class tst_InspectorServer : public QObject {
Note: See TracChangeset for help on using the changeset viewer.