Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2783743002: Fix nullptr deref in maybeRenderFallbackContent() (Closed)
Patch Set: Fix comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 void LoadData(const WebData&, 259 void LoadData(const WebData&,
260 const WebString& mime_type, 260 const WebString& mime_type,
261 const WebString& text_encoding, 261 const WebString& text_encoding,
262 const WebURL& base_url, 262 const WebURL& base_url,
263 const WebURL& unreachable_url, 263 const WebURL& unreachable_url,
264 bool replace, 264 bool replace,
265 WebFrameLoadType, 265 WebFrameLoadType,
266 const WebHistoryItem&, 266 const WebHistoryItem&,
267 WebHistoryLoadType, 267 WebHistoryLoadType,
268 bool is_client_redirect) override; 268 bool is_client_redirect) override;
269 bool MaybeRenderFallbackContent(const WebURLError&) const override; 269 FallbackContentResult MaybeRenderFallbackContent(
270 const WebURLError&) const override;
270 void ReportContentSecurityPolicyViolation( 271 void ReportContentSecurityPolicyViolation(
271 const blink::WebContentSecurityPolicyViolation&) override; 272 const blink::WebContentSecurityPolicyViolation&) override;
272 bool IsLoading() const override; 273 bool IsLoading() const override;
273 bool IsNavigationScheduledWithin(double interval) const override; 274 bool IsNavigationScheduledWithin(double interval) const override;
274 void SetCommittedFirstRealLoad() override; 275 void SetCommittedFirstRealLoad() override;
275 void SetHasReceivedUserGesture() override; 276 void SetHasReceivedUserGesture() override;
276 void BlinkFeatureUsageReport(const std::set<int>& features) override; 277 void BlinkFeatureUsageReport(const std::set<int>& features) override;
277 void MixedContentFound(const WebURL& main_resource_url, 278 void MixedContentFound(const WebURL& main_resource_url,
278 const WebURL& mixed_content_url, 279 const WebURL& mixed_content_url,
279 WebURLRequest::RequestContext, 280 WebURLRequest::RequestContext,
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 522
522 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 523 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
523 WebFrame, 524 WebFrame,
524 frame, 525 frame,
525 frame->IsWebLocalFrame(), 526 frame->IsWebLocalFrame(),
526 frame.IsWebLocalFrame()); 527 frame.IsWebLocalFrame());
527 528
528 } // namespace blink 529 } // namespace blink
529 530
530 #endif 531 #endif
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698