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:
deepak1556 2018-10-25 20:19:16 +05:30
parent 6b4b7c9831
commit 2eedcde914
4 changed files with 0 additions and 8 deletions

View file

@ -36,8 +36,6 @@ class WebContentsViewRelay
} // namespace
DEFINE_WEB_CONTENTS_USER_DATA_KEY(WebContentsViewRelay);
namespace atom {
namespace api {

View file

@ -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) {

View file

@ -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,

View file

@ -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(