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

Issue 7779012: renderer: Fix referencing v8::Array and v8::Object using raw pointer. (Closed)

Created:
9 years, 3 months ago by tfarina
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, darin-cc_chromium.org, mihaip+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

renderer: Fix referencing v8::Array and v8::Object using raw pointer. We should never use raw pointers of v8 objects in client code. We should always use v8::Handle and it subclasses, v8::Local and v8::Persistent, whenever referencing them. Any allocation from v8 heap can make raw pointers invalid. BUG=None TEST=None R=mnaganov@chromium.org TBR=tonyg@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98865

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M chrome/renderer/searchbox_extension.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
tfarina
Mikhail, please review! Tony, fyi!
9 years, 3 months ago (2011-08-29 15:02:40 UTC) #1
mnaganov (inactive)
9 years, 3 months ago (2011-08-30 10:31:10 UTC) #2
On 2011/08/29 15:02:40, tfarina wrote:
> Mikhail, please review!
> 
> Tony, fyi!

LGTM

Powered by Google App Engine
This is Rietveld 408576698