Changeset 31461 in webkit
- Timestamp:
- Mar 31, 2008 9:53:33 AM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r31460 r31461 1 2008-03-29 Adam Roben <aroben@apple.com> 2 3 Remove PlatformFileTime 4 5 This typedef is time_t on all platforms, so we can just get rid of the 6 typedef. 7 8 Reviewed by Mitz Pettel. 9 10 * platform/FileSystem.h: 11 * plugins/PluginPackage.cpp: 12 * plugins/PluginPackage.h: 13 1 14 2008-03-29 Adam Roben <aroben@apple.com> 2 15 -
trunk/WebCore/platform/FileSystem.h
r31460 r31461 48 48 #if PLATFORM(WIN) 49 49 typedef HANDLE PlatformFileHandle; 50 typedef time_t PlatformFileTime;51 50 typedef HMODULE PlatformModule; 52 51 const PlatformFileHandle invalidPlatformFileHandle = INVALID_HANDLE_VALUE; … … 71 70 #else 72 71 typedef int PlatformFileHandle; 73 typedef time_t PlatformFileTime;74 72 #if PLATFORM(GTK) 75 73 typedef GModule* PlatformModule; -
trunk/WebCore/plugins/PluginPackage.cpp
r31459 r31461 59 59 } 60 60 61 PluginPackage::PluginPackage(const String& path, const PlatformFileTime& lastModified)61 PluginPackage::PluginPackage(const String& path, const time_t& lastModified) 62 62 : m_path(path) 63 63 , m_moduleVersion(0) … … 104 104 } 105 105 106 PassRefPtr<PluginPackage> PluginPackage::createPackage(const String& path, const PlatformFileTime& lastModified)106 PassRefPtr<PluginPackage> PluginPackage::createPackage(const String& path, const time_t& lastModified) 107 107 { 108 108 RefPtr<PluginPackage> package = adoptRef(new PluginPackage(path, lastModified)); -
trunk/WebCore/plugins/PluginPackage.h
r31459 r31461 44 44 public: 45 45 ~PluginPackage(); 46 static PassRefPtr<PluginPackage> createPackage(const String& path, const PlatformFileTime& lastModified);46 static PassRefPtr<PluginPackage> createPackage(const String& path, const time_t& lastModified); 47 47 48 48 String name() const { return m_name; } … … 68 68 69 69 private: 70 PluginPackage(const String& path, const PlatformFileTime& lastModified);70 PluginPackage(const String& path, const time_t& lastModified); 71 71 bool fetchInfo(); 72 72 bool isPluginBlacklisted(); … … 88 88 89 89 PlatformModule m_module; 90 PlatformFileTimem_lastModified;90 time_t m_lastModified; 91 91 92 92 NPP_ShutdownProcPtr m_NPP_Shutdown;
Note: See TracChangeset
for help on using the changeset viewer.