~abreu-alexandre/oxide/add-ua-to-downloadrequested

« back to all changes in this revision

Viewing changes to shared/browser/oxide_web_view_contents_helper.cc

  • Committer: Chris Coulson
  • Date: 2014-07-30 10:35:42 UTC
  • mfrom: (640.1.29 canary)
  • Revision ID: chris.coulson@canonical.com-20140730103542-lzdy0xv7iekidxr3
Bump Chromium rev to 38.0.2107.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
void WebViewContentsHelper::UpdateWebPreferences() {
87
87
  content::RenderViewHost* rvh = web_contents()->GetRenderViewHost();
88
 
  if (rvh) {
89
 
    rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
 
88
  if (!rvh) {
 
89
    return;
90
90
  }
 
91
 
 
92
  rvh->OnWebkitPreferencesChanged();
91
93
}
92
94
 
93
95
void WebViewContentsHelper::NotifyPopupBlockerEnabledChanged() {