pwnall / chromeview

Proof of concept Android WebView implementation based on Chromium code
1.69k stars 434 forks source link

Can this support muti-process? #19

Closed dzhj11 closed 10 years ago

dzhj11 commented 10 years ago

Can this project support muti-process? If it could ,what can I do? When I modified in AwBrowserProcess.java as follows: public static void start(final Context context) { // We must post to the UI thread to cover the case that the user // has invoked Chromium startup by using the (thread-safe) // CookieManager rather than creating a WebView. ThreadUtils.runOnUiThreadBlocking(new Runnable() { @Override public void run() { try { LibraryLoader.ensureInitialized(); AndroidBrowserProcess.init(context, AndroidBrowserProcess.MAX_RENDERERS_AUTOMATIC); } catch (ProcessInitException e) { throw new RuntimeException("Cannot initialize WebView", e); } } }); The errors below: 07-17 14:55:54.901: A/chromium(10860): [FATAL:aw_content_browser_client.cc(117)] Check failed: content::RenderProcessHost::run_renderer_in_process(). 07-17 14:55:54.901: A/libc(10860): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

dzhj11 commented 10 years ago

can anyone help?

pwnall commented 10 years ago

@dzhj11 Sorry, I don't plan to make any changes to the Chromium source code outside what it takes to get it running as a WebView. If the Chromium team implements this feature, it will eventually make its way in here.