Commit 167e27f0 authored by Francois Doray's avatar Francois Doray Committed by Commit Bot

Remove DEFINE_WEB_CONTENTS_USER_DATA_KEY in //headless.

It is no longer to invoke the DEFINE_WEB_CONTENTS_USER_DATA_KEY macro
to define a global variable from which the key of a
WebContentsUserData is derived. The key is now derived from a static
local variable.

This CL was uploaded by git cl split.

R=irisu@chromium.org

Bug: 589840
Change-Id: I5bcbc1394aef4188b7b703685bcc0a1ffa5c3428
Reviewed-on: https://chromium-review.googlesource.com/1150285Reviewed-by: default avatarSami Kyöstilä <skyostil@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581228}
parent 1cea8e58
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
#include "printing/print_job_constants.h" #include "printing/print_job_constants.h"
#include "printing/units.h" #include "printing/units.h"
DEFINE_WEB_CONTENTS_USER_DATA_KEY(headless::HeadlessPrintManager);
namespace headless { namespace headless {
struct HeadlessPrintManager::FrameDispatchHelper { struct HeadlessPrintManager::FrameDispatchHelper {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment