mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
fix: Remove DEFINE_WEB_CONTENTS_USER_DATA_KEY in //electron.
https://bugs.chromium.org/p/chromium/issues/detail?id=589840
This commit is contained in:
@@ -36,8 +36,6 @@ class WebContentsViewRelay
|
||||
|
||||
} // namespace
|
||||
|
||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(WebContentsViewRelay);
|
||||
|
||||
namespace atom {
|
||||
|
||||
namespace api {
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
#include "content/public/browser/browser_context.h"
|
||||
#include "content/public/browser/render_process_host.h"
|
||||
|
||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(atom::WebContentsPermissionHelper);
|
||||
|
||||
namespace {
|
||||
|
||||
std::string MediaStreamTypeToString(content::MediaStreamType type) {
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
#include "ui/gfx/switches.h"
|
||||
#endif
|
||||
|
||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(atom::WebContentsPreferences);
|
||||
|
||||
namespace {
|
||||
|
||||
bool GetAsString(const base::Value* val,
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
#include "content/public/common/page_zoom.h"
|
||||
#include "net/base/url_util.h"
|
||||
|
||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(atom::WebContentsZoomController);
|
||||
|
||||
namespace atom {
|
||||
|
||||
WebContentsZoomController::WebContentsZoomController(
|
||||
|
||||
Reference in New Issue
Block a user