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

Issue 2011016: Use an interface to get to the C++ object pointer instead of casting directly... (Closed)

Created:
10 years, 7 months ago by tommi (sloooow) - chröme
Modified:
9 years, 7 months ago
Reviewers:
amit, ananta
CC:
chromium-reviews
Visibility:
Public.

Description

Use an interface to get to the C++ object pointer instead of casting directly. The object was being marshalled so, we were casting an ole32 proxy object to our implementation. To avoid marshalling altogether I'm also using the FTM. So, yeah, we're going belt and suspenders. TEST=See bug. BUG=43988 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=47160

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -9 lines) Patch
M chrome_frame/bind_context_info.h View 1 2 2 chunks +30 lines, -6 lines 0 comments Download
M chrome_frame/bind_context_info.cc View 1 2 2 chunks +31 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
tommi (sloooow) - chröme
10 years, 7 months ago (2010-05-12 20:35:52 UTC) #1
ananta
ok http://codereview.chromium.org/2011016/diff/5001/6002 File chrome_frame/bind_context_info.h (right): http://codereview.chromium.org/2011016/diff/5001/6002#newcode27 chrome_frame/bind_context_info.h:27: ~BindContextInfo() { Please move the destructor to the ...
10 years, 7 months ago (2010-05-12 20:47:15 UTC) #2
tommi (sloooow) - chröme
http://codereview.chromium.org/2011016/diff/5001/6002 File chrome_frame/bind_context_info.h (right): http://codereview.chromium.org/2011016/diff/5001/6002#newcode27 chrome_frame/bind_context_info.h:27: ~BindContextInfo() { On 2010/05/12 20:47:16, ananta wrote: > Please ...
10 years, 7 months ago (2010-05-12 21:08:58 UTC) #3
amit
Nice catch! lgtm http://codereview.chromium.org/2011016/diff/5001/6001 File chrome_frame/bind_context_info.cc (right): http://codereview.chromium.org/2011016/diff/5001/6001#newcode46 chrome_frame/bind_context_info.cc:46: hr = CoCreateFreeThreadedMarshaler(bind_context_info->GetUnknown(), ideally, this (and ...
10 years, 7 months ago (2010-05-12 21:16:49 UTC) #4
tommi (sloooow) - chröme
10 years, 7 months ago (2010-05-13 17:47:50 UTC) #5
http://codereview.chromium.org/2011016/diff/5001/6001
File chrome_frame/bind_context_info.cc (right):

http://codereview.chromium.org/2011016/diff/5001/6001#newcode46
chrome_frame/bind_context_info.cc:46: hr =
CoCreateFreeThreadedMarshaler(bind_context_info->GetUnknown(),
On 2010/05/12 21:16:49, amit wrote:
> ideally, this (and the RegisterObjectParam) should be done in
> BindContextInfo::Setup or something...

Done.

Powered by Google App Engine
This is Rietveld 408576698