Index: Source/modules/donottrack/NavigatorDoNotTrack.cpp |
diff --git a/Source/modules/donottrack/NavigatorDoNotTrack.cpp b/Source/modules/donottrack/NavigatorDoNotTrack.cpp |
index aa56df717dc2e2b88242347c79487fe5cfdfe620..7589b3534549d2a104b9740b34afbeff972f1002 100644 |
--- a/Source/modules/donottrack/NavigatorDoNotTrack.cpp |
+++ b/Source/modules/donottrack/NavigatorDoNotTrack.cpp |
@@ -53,10 +53,10 @@ const char* NavigatorDoNotTrack::supplementName() |
NavigatorDoNotTrack& NavigatorDoNotTrack::from(Navigator& navigator) |
{ |
- NavigatorDoNotTrack* supplement = static_cast<NavigatorDoNotTrack*>(Supplement<Navigator>::from(navigator, supplementName())); |
+ NavigatorDoNotTrack* supplement = static_cast<NavigatorDoNotTrack*>(WillBeHeapSupplement<Navigator>::from(navigator, supplementName())); |
if (!supplement) { |
supplement = new NavigatorDoNotTrack(navigator.frame()); |
- provideTo(navigator, supplementName(), adoptPtr(supplement)); |
+ provideTo(navigator, supplementName(), adoptPtrWillBeNoop(supplement)); |
} |
return *supplement; |
} |