Changeset 176577 in webkit
- Timestamp:
- Nov 29, 2014, 2:17:07 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
loader/EmptyClients.cpp (modified) (2 diffs)
-
loader/EmptyClients.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r176571 r176577 1 2014-11-29 Anders Carlsson <andersca@apple.com> 2 3 Add an EmptyVisitedLinkStore implementation 4 https://bugs.webkit.org/show_bug.cgi?id=139102 5 6 Reviewed by Sam Weinig. 7 8 * loader/EmptyClients.cpp: 9 (WebCore::fillWithEmptyClients): 10 * loader/EmptyClients.h: 11 1 12 2014-11-28 Sam Weinig <sam@webkit.org> 2 13 -
trunk/Source/WebCore/loader/EmptyClients.cpp
r176499 r176577 45 45 namespace WebCore { 46 46 47 class EmptyVisitedLinkStore : public VisitedLinkStore { 48 virtual bool isLinkVisited(Page&, LinkHash, const URL&, const AtomicString&) override { return false; } 49 virtual void addVisitedLink(Page&, LinkHash) override { } 50 }; 51 47 52 void fillWithEmptyClients(PageConfiguration& pageConfiguration) 48 53 { … … 74 79 static NeverDestroyed<EmptyDiagnosticLoggingClient> dummyDiagnosticLoggingClient; 75 80 pageConfiguration.diagnosticLoggingClient = &dummyDiagnosticLoggingClient.get(); 81 82 pageConfiguration.visitedLinkStore = adoptRef(new EmptyVisitedLinkStore); 76 83 } 77 84 -
trunk/Source/WebCore/loader/EmptyClients.h
r176499 r176577 45 45 #include "ProgressTrackerClient.h" 46 46 #include "ResourceError.h" 47 #include "VisitedLinkStore.h" 47 48 #include <wtf/text/StringView.h> 48 49
Note:
See TracChangeset
for help on using the changeset viewer.