Changeset 50748 in webkit
- Timestamp:
- Nov 10, 2009 11:24:21 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50736 r50748 1 2009-11-10 Zoltan Horvath <zoltan@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 Allow custom memory allocation control for the part of loader directory in WebCore 6 https://bugs.webkit.org/show_bug.cgi?id=31161 7 8 Inherits the following classes from Noncopyable because these are instantiated 9 by 'new' and these are no need to be copyable: 10 11 class Request - WebCore/loader/loader.cpp:100 12 struct ScheduledRedirection - WebCore/loader/RedirectScheduler.cpp:164 13 class ApplicationCacheStorage - WebCore/loader/appcache/ApplicationCacheStorage.cpp:1121 14 class ApplicationCacheHost - WebCore/loader/DocumentLoader.cpp:151 15 class ImageEventSender - WebCore/loader/ImageLoader.cpp:54 16 struct ProgressItem - WebCore/loader/ProgressTracker.cpp:169 17 18 Inherits ThreadableLoaderClient class from Noncopyable because (its child class) 19 MainThreadBridge is instantiated by 'new' in 20 WebCore/loader/WorkerThreadableLoader.cpp:59 it is no need to be copyable. 21 22 ThreadableLoaderClient's inheriting has been changed to public. 23 24 * loader/ImageLoader.cpp: 25 * loader/ProgressTracker.cpp: 26 * loader/RedirectScheduler.cpp: 27 * loader/Request.h: 28 * loader/ThreadableLoaderClient.h: 29 * loader/WorkerThreadableLoader.h: 30 * loader/appcache/ApplicationCacheHost.h: 31 * loader/appcache/ApplicationCacheStorage.h: 32 1 33 2009-11-10 Philippe Normand <pnormand@igalia.com> 2 34 -
trunk/WebCore/loader/ImageLoader.cpp
r50658 r50748 32 32 namespace WebCore { 33 33 34 class ImageEventSender {34 class ImageEventSender : public Noncopyable { 35 35 public: 36 36 ImageEventSender(const AtomicString& eventType); -
trunk/WebCore/loader/ProgressTracker.cpp
r50658 r50748 48 48 static const int progressItemDefaultEstimatedLength = 1024 * 16; 49 49 50 struct ProgressItem {50 struct ProgressItem : Noncopyable { 51 51 ProgressItem(long long length) 52 52 : bytesReceived(0) -
trunk/WebCore/loader/RedirectScheduler.cpp
r50675 r50748 45 45 namespace WebCore { 46 46 47 struct ScheduledRedirection {47 struct ScheduledRedirection : Noncopyable { 48 48 enum Type { redirection, locationChange, historyNavigation, formSubmission }; 49 49 -
trunk/WebCore/loader/Request.h
r50658 r50748 31 31 class DocLoader; 32 32 33 class Request {33 class Request : public Noncopyable { 34 34 public: 35 35 Request(DocLoader*, CachedResource*, bool incremental, bool skipCanLoadCheck, bool sendResourceLoadCallbacks); -
trunk/WebCore/loader/ThreadableLoaderClient.h
r50658 r50748 37 37 class ResourceResponse; 38 38 39 class ThreadableLoaderClient {39 class ThreadableLoaderClient : public Noncopyable { 40 40 public: 41 41 virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long long /*totalBytesToBeSent*/) { } -
trunk/WebCore/loader/WorkerThreadableLoader.h
r50658 r50748 95 95 // done in createCallbackTask), so the ThreadableLoaderClientWrapper instance is there until all 96 96 // tasks are executed. 97 class MainThreadBridge : ThreadableLoaderClient {97 class MainThreadBridge : public ThreadableLoaderClient { 98 98 public: 99 99 // All executed on the worker context's thread. -
trunk/WebCore/loader/appcache/ApplicationCacheHost.h
r50658 r50748 58 58 #endif 59 59 60 class ApplicationCacheHost {60 class ApplicationCacheHost : public Noncopyable { 61 61 public: 62 62 // The Status numeric values are specified in the HTML5 spec. -
trunk/WebCore/loader/appcache/ApplicationCacheStorage.h
r50658 r50748 45 45 class StorageIDJournal; 46 46 47 class ApplicationCacheStorage {47 class ApplicationCacheStorage : public Noncopyable { 48 48 public: 49 49 void setCacheDirectory(const String&);
Note: See TracChangeset
for help on using the changeset viewer.