Unreviewed, rolling out r135819.
[WebKit-https.git] / Source / WebKit2 / Shared / WebPageCreationParameters.cpp
index 22e28849c4b88baeafa890b72e8fda94f8f4b5cc..2a4afd938c6d5172bacfa6201d4a52bc4383e2d2 100644 (file)
@@ -57,7 +57,6 @@ void WebPageCreationParameters::encode(CoreIPC::ArgumentEncoder& encoder) const
     encoder << canRunModal;
     encoder << deviceScaleFactor;
     encoder << mediaVolume;
-    encoder << mayStartMediaWhenInWindow;
 
 #if PLATFORM(MAC)
     encoder << isSmartInsertDeleteEnabled;
@@ -120,8 +119,6 @@ bool WebPageCreationParameters::decode(CoreIPC::ArgumentDecoder* decoder, WebPag
         return false;
     if (!decoder->decode(parameters.mediaVolume))
         return false;
-    if (!decoder->decode(parameters.mayStartMediaWhenInWindow))
-        return false;
 
 #if PLATFORM(MAC)
     if (!decoder->decode(parameters.isSmartInsertDeleteEnabled))