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:
parent
6b4b7c9831
commit
2eedcde914
4 changed files with 0 additions and 8 deletions
|
@ -36,8 +36,6 @@ class WebContentsViewRelay
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(WebContentsViewRelay);
|
|
||||||
|
|
||||||
namespace atom {
|
namespace atom {
|
||||||
|
|
||||||
namespace api {
|
namespace api {
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
#include "content/public/browser/browser_context.h"
|
#include "content/public/browser/browser_context.h"
|
||||||
#include "content/public/browser/render_process_host.h"
|
#include "content/public/browser/render_process_host.h"
|
||||||
|
|
||||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(atom::WebContentsPermissionHelper);
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
std::string MediaStreamTypeToString(content::MediaStreamType type) {
|
std::string MediaStreamTypeToString(content::MediaStreamType type) {
|
||||||
|
|
|
@ -30,8 +30,6 @@
|
||||||
#include "ui/gfx/switches.h"
|
#include "ui/gfx/switches.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(atom::WebContentsPreferences);
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
bool GetAsString(const base::Value* val,
|
bool GetAsString(const base::Value* val,
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
#include "content/public/common/page_zoom.h"
|
#include "content/public/common/page_zoom.h"
|
||||||
#include "net/base/url_util.h"
|
#include "net/base/url_util.h"
|
||||||
|
|
||||||
DEFINE_WEB_CONTENTS_USER_DATA_KEY(atom::WebContentsZoomController);
|
|
||||||
|
|
||||||
namespace atom {
|
namespace atom {
|
||||||
|
|
||||||
WebContentsZoomController::WebContentsZoomController(
|
WebContentsZoomController::WebContentsZoomController(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue