| Index: chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
|
| ===================================================================
|
| --- chrome/renderer/safe_browsing/phishing_classifier_delegate.cc (revision 105162)
|
| +++ chrome/renderer/safe_browsing/phishing_classifier_delegate.cc (working copy)
|
| @@ -89,7 +89,7 @@
|
| content::RenderView* render_view,
|
| PhishingClassifier* classifier)
|
| : content::RenderViewObserver(render_view),
|
| - last_main_frame_transition_(PageTransition::LINK),
|
| + last_main_frame_transition_(content::PAGE_TRANSITION_LINK),
|
| have_page_text_(false),
|
| is_classifying_(false) {
|
| g_delegates.Get().insert(this);
|
| @@ -232,7 +232,7 @@
|
| return;
|
| }
|
|
|
| - if (last_main_frame_transition_ & PageTransition::FORWARD_BACK) {
|
| + if (last_main_frame_transition_ & content::PAGE_TRANSITION_FORWARD_BACK) {
|
| // Skip loads from session history navigation. However, update the
|
| // last URL sent to the classifier, so that we'll properly detect
|
| // in-page navigations.
|
|
|