Fix iOS build after r239993
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Jan 2019 20:29:50 +0000 (20:29 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Jan 2019 20:29:50 +0000 (20:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193361

Source/WebKit:

* UIProcess/ProvisionalPageProxy.h:
* UIProcess/SuspendedPageProxy.h:

Source/WTF:

* wtf/RefCounter.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239997 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/RefCounter.h
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/ProvisionalPageProxy.h
Source/WebKit/UIProcess/SuspendedPageProxy.h

index 19bd18a..056e4e7 100644 (file)
@@ -1,3 +1,10 @@
+2019-01-15  Alex Christensen  <achristensen@webkit.org>
+
+        Fix iOS build after r239993
+        https://bugs.webkit.org/show_bug.cgi?id=193361
+
+        * wtf/RefCounter.h:
+
 2019-01-14  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         Use unorm2_normalize instead of precomposedStringWithCanonicalMapping in userVisibleString
index 605c44a..524ac82 100644 (file)
@@ -65,6 +65,7 @@ public:
     using ValueChangeFunction = WTF::Function<void (RefCounterEvent)>;
 
     RefCounter(ValueChangeFunction&& = nullptr);
+    RefCounter(RefCounter&&) = default;
     ~RefCounter();
 
     Token count() const
index 9e01bb7..ed46861 100644 (file)
@@ -1,3 +1,11 @@
+2019-01-15  Alex Christensen  <achristensen@webkit.org>
+
+        Fix iOS build after r239993
+        https://bugs.webkit.org/show_bug.cgi?id=193361
+
+        * UIProcess/ProvisionalPageProxy.h:
+        * UIProcess/SuspendedPageProxy.h:
+
 2019-01-15  Per Arne Vollan  <pvollan@apple.com>
 
         [macOS] Adjust logging policy in WebKit's sandbox
index 8a0f71d..c1e08af 100644 (file)
@@ -88,7 +88,7 @@ private:
     URL m_provisionalLoadURL;
 
 #if PLATFORM(IOS_FAMILY)
-    ProcessThrottler::BackgroundActivityToken m_suspensionToken;
+    ProcessThrottler::ForegroundActivityToken m_suspensionToken;
 #endif
 };
 
index 9feb0b5..a55f54c 100644 (file)
@@ -73,7 +73,7 @@ private:
     SuspensionState m_suspensionState { SuspensionState::Suspending };
     CompletionHandler<void(SuspendedPageProxy*)> m_readyToUnsuspendHandler;
 #if PLATFORM(IOS_FAMILY)
-    ProcessThrottler::ForegroundActivityToken m_suspensionToken;
+    ProcessThrottler::BackgroundActivityToken m_suspensionToken;
 #endif
 };