  void WebArrayBuffer::reset()
  {
      m_private.reset();
-diff --git a/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp b/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
-index 4603ef0c4e18cd44ff90c80f52473deaae4fc779..09dbf996b365069055d50ed5efcbb063ffb69920 100644
---- a/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
-+++ b/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
-@@ -76,12 +76,12 @@ v8::Local<v8::Value> WebSerializedScriptValue::deserialize()
-     return m_private->deserialize();
- }
- 
--WebSerializedScriptValue::WebSerializedScriptValue(const PassRefPtr<SerializedScriptValue>& value)
-+WebSerializedScriptValue::WebSerializedScriptValue(PassRefPtr<SerializedScriptValue> value)
-     : m_private(value)
- {
- }
- 
--WebSerializedScriptValue& WebSerializedScriptValue::operator=(const PassRefPtr<SerializedScriptValue>& value)
-+WebSerializedScriptValue& WebSerializedScriptValue::operator=(PassRefPtr<SerializedScriptValue> value)
- {
-     m_private = value;
-     return *this;
-diff --git a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
-index 2132f01a56b915fd920383acf4b3e1c898ac9132..79f440c3d46da0ff7432ef34a064603cb24d9d80 100644
---- a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
-+++ b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
-@@ -44,7 +44,7 @@ namespace blink {
- void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr)
- {
-     WTF::adopted(fontMgr);
--    FontCache::setFontManager(RefPtr<SkFontMgr>(fontMgr));
-+    FontCache::setFontManager(sk_ref_sp(fontMgr));
- }
- 
- // static
-diff --git a/third_party/WebKit/Source/web/win/WebFontRendering.cpp b/third_party/WebKit/Source/web/win/WebFontRendering.cpp
-index 6611727e3007af99ed1e26e9e4ba45539d94f866..1721ca15dc91527c4a8d36d36b1afc13e23d3600 100644
---- a/third_party/WebKit/Source/web/win/WebFontRendering.cpp
-+++ b/third_party/WebKit/Source/web/win/WebFontRendering.cpp
-@@ -12,7 +12,7 @@ namespace blink {
- void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr)
- {
-     WTF::adopted(fontMgr);
--    FontCache::setFontManager(RefPtr<SkFontMgr>(fontMgr));
-+    FontCache::setFontManager(sk_ref_sp(fontMgr));
- }
- 
- // static
-diff --git a/third_party/WebKit/public/platform/WebCrypto.h b/third_party/WebKit/public/platform/WebCrypto.h
-index ba3d98fa80b84d97ef133c85792cba2943508fe8..27cba7ef3d1bbd929a426f8211329282fc606b9f 100644
---- a/third_party/WebKit/public/platform/WebCrypto.h
-+++ b/third_party/WebKit/public/platform/WebCrypto.h
-@@ -42,6 +42,7 @@
- 
- #if INSIDE_BLINK
- #include "platform/heap/Handle.h"
-+#include "wtf/PassRefPtr.h"
- #endif
- 
- namespace blink {
-@@ -97,7 +98,7 @@ public:
-     BLINK_PLATFORM_EXPORT bool cancelled() const;
- 
- #if INSIDE_BLINK
--    BLINK_PLATFORM_EXPORT WebCryptoResult(CryptoResult*, const PassRefPtr<CryptoResultCancel>&);
-+    BLINK_PLATFORM_EXPORT WebCryptoResult(CryptoResult*, PassRefPtr<CryptoResultCancel>);
- #endif
- 
- private:
-diff --git a/third_party/WebKit/public/platform/WebData.h b/third_party/WebKit/public/platform/WebData.h
-index e4d6b879c237732e7eb10c81d617fa4d76d2dda1..bc3ae37783bc1f64f5c969590de633717d0afbb5 100644
---- a/third_party/WebKit/public/platform/WebData.h
-+++ b/third_party/WebKit/public/platform/WebData.h
-@@ -34,6 +34,10 @@
- #include "WebCommon.h"
- #include "WebPrivatePtr.h"
- 
-+#if INSIDE_BLINK
-+#include "wtf/PassRefPtr.h"
-+#endif
-+
- namespace blink {
- 
- class SharedBuffer;
-@@ -78,8 +82,8 @@ public:
-     bool isNull() const { return m_private.isNull(); }
- 
- #if INSIDE_BLINK
--    WebData(const PassRefPtr<SharedBuffer>&);
--    WebData& operator=(const PassRefPtr<SharedBuffer>&);
-+    WebData(PassRefPtr<SharedBuffer>);
-+    WebData& operator=(PassRefPtr<SharedBuffer>);
-     operator PassRefPtr<SharedBuffer>() const;
- #else
-     template <class C>
-diff --git a/third_party/WebKit/public/platform/WebHTTPBody.h b/third_party/WebKit/public/platform/WebHTTPBody.h
-index e604707a0a9816a57577a6cf2c9a3b4c1d407749..22d6cacc8601cfc8fa7588b97d255a6a4f6e3f15 100644
---- a/third_party/WebKit/public/platform/WebHTTPBody.h
-+++ b/third_party/WebKit/public/platform/WebHTTPBody.h
-@@ -38,7 +38,7 @@
- #include "WebURL.h"
- 
- #if INSIDE_BLINK
--namespace WTF { template <typename T> class PassRefPtr; }
-+#include "wtf/PassRefPtr.h"
- #endif
- 
- namespace blink {
-@@ -101,8 +101,8 @@ public:
-     BLINK_PLATFORM_EXPORT void setContainsPasswordData(bool);
- 
- #if INSIDE_BLINK
--    BLINK_PLATFORM_EXPORT WebHTTPBody(const WTF::PassRefPtr<EncodedFormData>&);
--    BLINK_PLATFORM_EXPORT WebHTTPBody& operator=(const WTF::PassRefPtr<EncodedFormData>&);
-+    BLINK_PLATFORM_EXPORT WebHTTPBody(WTF::PassRefPtr<EncodedFormData>);
-+    BLINK_PLATFORM_EXPORT WebHTTPBody& operator=(WTF::PassRefPtr<EncodedFormData>);
-     BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<EncodedFormData>() const;
- #endif
- 
-diff --git a/third_party/WebKit/public/platform/WebImage.h b/third_party/WebKit/public/platform/WebImage.h
-index 15716beafb043a8ec3fdc447197c8fbb7f48b940..4fd01893171eeb2ba199a4f63859dc5fa854c909 100644
---- a/third_party/WebKit/public/platform/WebImage.h
-+++ b/third_party/WebKit/public/platform/WebImage.h
-@@ -37,7 +37,7 @@
- #include "third_party/skia/include/core/SkBitmap.h"
- 
- #if INSIDE_BLINK
--namespace WTF { template <typename T> class PassRefPtr; }
-+#include "wtf/PassRefPtr.h"
- #endif
- 
- namespace blink {
-@@ -80,7 +80,7 @@ public:
-     BLINK_PLATFORM_EXPORT WebSize size() const;
- 
- #if INSIDE_BLINK
--    BLINK_PLATFORM_EXPORT WebImage(const WTF::PassRefPtr<Image>&);
-+    BLINK_PLATFORM_EXPORT WebImage(WTF::PassRefPtr<Image>);
- #endif
- 
-     WebImage(const SkBitmap& bitmap) : m_bitmap(bitmap) { }
-diff --git a/third_party/WebKit/public/platform/WebPrivatePtr.h b/third_party/WebKit/public/platform/WebPrivatePtr.h
-index 0b6533d4a0129b9f13f1198a16618690a79a47e8..e46b01c37fdfe734868193f9b2db22f5c2016a29 100644
---- a/third_party/WebKit/public/platform/WebPrivatePtr.h
-+++ b/third_party/WebKit/public/platform/WebPrivatePtr.h
-@@ -217,7 +217,7 @@ private:
- //        // Methods that are used only by other Blink classes should only be
- //        // declared when INSIDE_BLINK is set.
- //    #if INSIDE_BLINK
--//        WebFoo(const WTF::PassRefPtr<Foo>&);
-+//        WebFoo(WTF::PassRefPtr<Foo>);
- //    #endif
- //
- //    private:
-diff --git a/third_party/WebKit/public/platform/WebSecurityOrigin.h b/third_party/WebKit/public/platform/WebSecurityOrigin.h
-index 528e473bbb6fbd0e4277a43ae20fbc4147229646..1c1a05e093469a133b6e949bf36fe37b71c8a167 100644
---- a/third_party/WebKit/public/platform/WebSecurityOrigin.h
-+++ b/third_party/WebKit/public/platform/WebSecurityOrigin.h
-@@ -109,8 +109,8 @@ public:
-     BLINK_PLATFORM_EXPORT void grantLoadLocalResources() const;
- 
- #if INSIDE_BLINK
--    BLINK_PLATFORM_EXPORT WebSecurityOrigin(const WTF::PassRefPtr<SecurityOrigin>&);
--    BLINK_PLATFORM_EXPORT WebSecurityOrigin& operator=(const WTF::PassRefPtr<SecurityOrigin>&);
-+    BLINK_PLATFORM_EXPORT WebSecurityOrigin(WTF::PassRefPtr<SecurityOrigin>);
-+    BLINK_PLATFORM_EXPORT WebSecurityOrigin& operator=(WTF::PassRefPtr<SecurityOrigin>);
-     BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<SecurityOrigin>() const;
-     BLINK_PLATFORM_EXPORT SecurityOrigin* get() const;
- #else
-diff --git a/third_party/WebKit/public/platform/WebThreadSafeData.h b/third_party/WebKit/public/platform/WebThreadSafeData.h
-index d741f3f46135498f8455cfe84cfde68903c5a904..8724c77b4ff142bb1f8ecbac81aaf2e00bf693a5 100644
---- a/third_party/WebKit/public/platform/WebThreadSafeData.h
-+++ b/third_party/WebKit/public/platform/WebThreadSafeData.h
-@@ -34,7 +34,9 @@
- #include "WebCommon.h"
- #include "WebPrivatePtr.h"
- 
--#if !INSIDE_BLINK
-+#if INSIDE_BLINK
-+#include "wtf/PassRefPtr.h"
-+#else
- #include <string>
- #endif
- 
-@@ -63,8 +65,8 @@ public:
-     BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(const WebThreadSafeData&);
- 
- #if INSIDE_BLINK
--    BLINK_PLATFORM_EXPORT WebThreadSafeData(const WTF::PassRefPtr<RawData>&);
--    BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(const WTF::PassRefPtr<RawData>&);
-+    BLINK_PLATFORM_EXPORT WebThreadSafeData(WTF::PassRefPtr<RawData>);
-+    BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(WTF::PassRefPtr<RawData>);
- #else
-     operator std::string() const
-     {
-diff --git a/third_party/WebKit/public/platform/WebURLLoadTiming.h b/third_party/WebKit/public/platform/WebURLLoadTiming.h
-index fc48965f7e31d6876237be23ecf55d9a0cb402fa..920744e909c501863eab5e2e1f05fc4faf58bb5c 100644
---- a/third_party/WebKit/public/platform/WebURLLoadTiming.h
-+++ b/third_party/WebKit/public/platform/WebURLLoadTiming.h
-@@ -34,6 +34,10 @@
- #include "WebCommon.h"
- #include "WebPrivatePtr.h"
- 
-+#if INSIDE_BLINK
-+#include "wtf/PassRefPtr.h"
-+#endif
-+
- namespace blink {
- 
- class ResourceLoadTiming;
-@@ -105,8 +109,8 @@ public:
-     BLINK_PLATFORM_EXPORT void setPushEnd(double);
- 
- #if INSIDE_BLINK
--    BLINK_PLATFORM_EXPORT WebURLLoadTiming(const WTF::PassRefPtr<ResourceLoadTiming>&);
--    BLINK_PLATFORM_EXPORT WebURLLoadTiming& operator=(const WTF::PassRefPtr<ResourceLoadTiming>&);
-+    BLINK_PLATFORM_EXPORT WebURLLoadTiming(WTF::PassRefPtr<ResourceLoadTiming>);
-+    BLINK_PLATFORM_EXPORT WebURLLoadTiming& operator=(WTF::PassRefPtr<ResourceLoadTiming>);
-     BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadTiming>() const;
- #endif
- 
 diff --git a/third_party/WebKit/public/web/WebArrayBuffer.h b/third_party/WebKit/public/web/WebArrayBuffer.h
 index 668bbfdbe72ebe2607e67785d267d03a6434dda5..85a6c28349001aebd7538eae21213668022acd24 100644
 --- a/third_party/WebKit/public/web/WebArrayBuffer.h

 
     BLINK_EXPORT void reset();
     BLINK_EXPORT void assign(const WebArrayBuffer&);
diff --git a/third_party/WebKit/public/web/WebSerializedScriptValue.h b/third_party/WebKit/public/web/WebSerializedScriptValue.h
index a5719d66e4b8376ce3ec884cd8aad070f9e8dee9..3fbca98cc06619d3205ba5e358e6a25763440092 100644
--- a/third_party/WebKit/public/web/WebSerializedScriptValue.h
+++ b/third_party/WebKit/public/web/WebSerializedScriptValue.h
@@ -31,8 +31,8 @@
 #ifndef WebSerializedScriptValue_h
 #define WebSerializedScriptValue_h
 
-#include "../platform/WebCommon.h"
-#include "../platform/WebPrivatePtr.h"
+#include "public/platform/WebCommon.h"
+#include "public/platform/WebPrivatePtr.h"
 
 namespace v8 {
 class Value;
@@ -76,8 +76,8 @@ public:
     BLINK_EXPORT v8::Local<v8::Value> deserialize();
 
 #if BLINK_IMPLEMENTATION
-    WebSerializedScriptValue(const WTF::PassRefPtr<SerializedScriptValue>&);
-    WebSerializedScriptValue& operator=(const WTF::PassRefPtr<SerializedScriptValue>&);
+    WebSerializedScriptValue(WTF::PassRefPtr<SerializedScriptValue>);
+    WebSerializedScriptValue& operator=(WTF::PassRefPtr<SerializedScriptValue>);
     operator WTF::PassRefPtr<SerializedScriptValue>() const;
 #endif
 
diff --git a/third_party/widevine/cdm/BUILD.gn b/third_party/widevine/cdm/BUILD.gn
index e5fdb29e858fec1137a2182c18db6304279b4c24..8a860a334c2204a890ba73de9eacc2ba8ae8bb91 100644
--- a/third_party/widevine/cdm/BUILD.gn

   ]
 }
+}
diff --git a/third_party/WebKit/Source/core/dom/DOMArrayBuffer.h b/third_party/WebKit/Source/core/dom/DOMArrayBuffer.h
index e436a079e835ad465a5262249f0a402d58e25f02..872df7f2c47de00abc32a95f7564172090b75527 100644
--- a/third_party/WebKit/Source/core/dom/DOMArrayBuffer.h
