Changeset 60128 in webkit


Ignore:
Timestamp:
May 24, 2010 10:03:43 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-05-24 Tasuku Suzuki <tasuku.suzuki@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Fix compilation with QT_NO_TEMPORARYFILE
https://bugs.webkit.org/show_bug.cgi?id=38324

  • platform/qt/FileSystemQt.cpp: (WebCore::openTemporaryFile):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r60126 r60128  
     12010-05-24  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Fix compilation with QT_NO_TEMPORARYFILE
     6        https://bugs.webkit.org/show_bug.cgi?id=38324
     7
     8        * platform/qt/FileSystemQt.cpp:
     9        (WebCore::openTemporaryFile):
     10
    1112010-05-24  Andrey Kosyakov  <caseq@chromium.org>
    212
  • trunk/WebCore/platform/qt/FileSystemQt.cpp

    r56825 r60128  
    118118CString openTemporaryFile(const char* prefix, PlatformFileHandle& handle)
    119119{
     120#ifndef QT_NO_TEMPORARYFILE
    120121    QTemporaryFile* tempFile = new QTemporaryFile(QLatin1String(prefix));
    121122    tempFile->setAutoRemove(false);
     
    125126        return String(temp->fileName()).utf8();
    126127    }
     128#endif
    127129    handle = invalidPlatformFileHandle;
    128130    return CString();
Note: See TracChangeset for help on using the changeset viewer.