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

Issue 2570563002: Use LOAD_LIBRARY_AS_IMAGE_RESOURCE to open shell32.dll in ShellHandlerImpl (Closed)

Created:
4 years ago by Patrick Monette
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use LOAD_LIBRARY_AS_IMAGE_RESOURCE to open shell32.dll in ShellHandlerImpl As per Microsoft's recommendation for LoadLibraryEx on MSDN. https://msdn.microsoft.com/en-us/library/windows/desktop/ms684179(v=vs.85).aspx "Use this flag when you want to load a DLL only to extract messages or resources from it." Committed: https://crrev.com/0feb351d0498b3db22790162b43e096da8f67df8 Cr-Commit-Position: refs/heads/master@{#438867}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/utility/shell_handler_impl_win.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (11 generated)
Patrick Monette
Hi, PTAL Greg suggested to do that in a previous CL but I forgot to ...
4 years ago (2016-12-12 18:27:40 UTC) #4
jochen (gone - plz use gerrit)
deferring to Scott Can you please link to the MSDN article from the CL description? ...
4 years ago (2016-12-14 10:55:08 UTC) #6
scottmg
I guess Greg probably knows better why he asked for it. :) From looking at ...
4 years ago (2016-12-14 16:10:09 UTC) #8
Patrick Monette
While it has no effect on this particular scenario because shell32.dll is already loaded as ...
4 years ago (2016-12-14 20:15:56 UTC) #10
scottmg
Sure. lgtm
4 years ago (2016-12-14 20:18:03 UTC) #12
grt (UTC plus 2)
On 2016/12/14 20:15:56, Patrick Monette wrote: > While it has no effect on this particular ...
4 years ago (2016-12-14 20:29:21 UTC) #13
grt (UTC plus 2)
4 years ago (2016-12-14 20:29:28 UTC) #14
jochen (gone - plz use gerrit)
lgtm
4 years ago (2016-12-15 14:16:03 UTC) #15
Patrick Monette
Thanks!
4 years ago (2016-12-15 16:44:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2570563002/1
4 years ago (2016-12-15 16:45:16 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-15 17:42:36 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-15 17:44:10 UTC) #23
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0feb351d0498b3db22790162b43e096da8f67df8
Cr-Commit-Position: refs/heads/master@{#438867}

Powered by Google App Engine
This is Rietveld 408576698