Switch to the branch dev/m38_2125
[platform/framework/web/chromium-efl.git] / tizen_src / impl / web_contents_delegate_efl.cc
index c74025f..d19e1c2 100755 (executable)
@@ -463,6 +463,7 @@ void WebContentsDelegateEfl::OnGetContentSecurityPolicy(IPC::Message* reply_msg)
 }
 
 void WebContentsDelegateEfl::OnPrintedMetafileReceived(const DidPrintPagesParams& params) {
+#if !(defined(EWK_BRINGUP) && defined(OS_TIZEN_MOBILE))
   base::SharedMemory shared_buf(params.metafile_data_handle, true);
   if (!shared_buf.Map(params.data_size)) {
      NOTREACHED() << "couldn't map";
@@ -475,6 +476,7 @@ void WebContentsDelegateEfl::OnPrintedMetafileReceived(const DidPrintPagesParams
   }
   BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
         base::Bind(&WritePdfDataToFile, metafile.release(), params.filename));
+#endif
 }
 
 void WebContentsDelegateEfl::NavigationEntryCommitted(const LoadCommittedDetails& load_details) {