No need to define WebContentsPreferences::From
This commit is contained in:
parent
3717f5b7f2
commit
24bbe5dabf
3 changed files with 8 additions and 17 deletions
|
@ -22,9 +22,6 @@ namespace atom {
|
|||
class WebContentsPreferences
|
||||
: public content::WebContentsUserData<WebContentsPreferences> {
|
||||
public:
|
||||
// Get the preferences of |web_contents|.
|
||||
static WebContentsPreferences* From(content::WebContents* web_contents);
|
||||
|
||||
// Append command paramters according to |web_contents|'s preferences.
|
||||
static void AppendExtraCommandLineSwitches(
|
||||
content::WebContents* web_contents, base::CommandLine* command_line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue