Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1577)

Issue 348613004: aw: Fix hardware teardown race (Closed)

Created:
6 years, 6 months ago by boliu
Modified:
6 years, 6 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

aw: Fix hardware teardown race Reading IsHardwareInitialized in OnDetachedFromWindow on the UI thread is unsafe as it can change after being read. Remove it and use whether UI has hardware initialized instead. BUG=388890 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279934

Patch Set 1 #

Total comments: 2

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -30 lines) Patch
M android_webview/browser/browser_view_renderer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M android_webview/browser/browser_view_renderer.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M android_webview/browser/shared_renderer_state.h View 2 chunks +0 lines, -5 lines 0 comments Download
M android_webview/browser/shared_renderer_state.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M android_webview/native/aw_contents.cc View 4 chunks +1 line, -8 lines 0 comments Download
M android_webview/native/aw_dev_tools_server.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
boliu
6 years, 6 months ago (2014-06-25 21:35:14 UTC) #1
hush (inactive)
https://codereview.chromium.org/348613004/diff/1/android_webview/browser/browser_view_renderer.h File android_webview/browser/browser_view_renderer.h (right): https://codereview.chromium.org/348613004/diff/1/android_webview/browser/browser_view_renderer.h#newcode111 android_webview/browser/browser_view_renderer.h:111: bool hardware_enabled() const { return hardware_enabled_; } hmm... can ...
6 years, 6 months ago (2014-06-25 21:51:57 UTC) #2
hush (inactive)
lgtm
6 years, 6 months ago (2014-06-25 21:52:15 UTC) #3
boliu
https://codereview.chromium.org/348613004/diff/1/android_webview/browser/browser_view_renderer.h File android_webview/browser/browser_view_renderer.h (right): https://codereview.chromium.org/348613004/diff/1/android_webview/browser/browser_view_renderer.h#newcode111 android_webview/browser/browser_view_renderer.h:111: bool hardware_enabled() const { return hardware_enabled_; } On 2014/06/25 ...
6 years, 6 months ago (2014-06-25 21:54:33 UTC) #4
boliu
And sgurun for committer stamp
6 years, 6 months ago (2014-06-25 21:57:59 UTC) #5
sgurun-gerrit only
On 2014/06/25 21:57:59, boliu wrote: > And sgurun for committer stamp lgtm
6 years, 6 months ago (2014-06-25 23:50:19 UTC) #6
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 6 months ago (2014-06-25 23:50:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/348613004/20001
6 years, 6 months ago (2014-06-25 23:53:22 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-26 06:39:32 UTC) #9
Message was sent while issue was closed.
Change committed as 279934

Powered by Google App Engine
This is Rietveld 408576698