Don't convert pasted content to use blob URL in WebKit1
[WebKit-https.git] / Source / WebCore / page / DeprecatedGlobalSettings.cpp
index 4afc6fa8ad2dc4bd367057afa624eeb08943b9b6..05bb11df5b1ceaf858754160b633d00b4a9b250c 100644 (file)
@@ -86,6 +86,8 @@ bool DeprecatedGlobalSettings::gCustomPasteboardDataEnabled = false;
 
 bool DeprecatedGlobalSettings::defaultCustomPasteboardDataEnabled()
 {
+    if (!isInWebProcess())
+        return false;
 #if PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 110300
     return IOSApplication::isMobileSafari() || dyld_get_program_sdk_version() >= DYLD_IOS_VERSION_11_3;
 #elif PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300