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

Side by Side Diff: Source/web/WebFrameImpl.cpp

Issue 141303002: Remove runtime flag check assert on public method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix wrong assert check Created 6 years, 11 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
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 { 1799 {
1800 if (m_totalMatchCount > 0) 1800 if (m_totalMatchCount > 0)
1801 ++m_findMatchMarkersVersion; 1801 ++m_findMatchMarkersVersion;
1802 1802
1803 m_totalMatchCount = 0; 1803 m_totalMatchCount = 0;
1804 m_framesScopingCount = 0; 1804 m_framesScopingCount = 0;
1805 } 1805 }
1806 1806
1807 void WebFrameImpl::sendOrientationChangeEvent(int orientation) 1807 void WebFrameImpl::sendOrientationChangeEvent(int orientation)
1808 { 1808 {
1809 ASSERT(!RuntimeEnabledFeatures::orientationEventEnabled());
1810
1811 if (frame()) 1809 if (frame())
1812 frame()->sendOrientationChangeEvent(orientation); 1810 frame()->sendOrientationChangeEvent(orientation);
1813 } 1811 }
1814 1812
1815 void WebFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOrigin& intendedTargetOrigin, const WebDOMEvent& event) 1813 void WebFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOrigin& intendedTargetOrigin, const WebDOMEvent& event)
1816 { 1814 {
1817 ASSERT(!event.isNull()); 1815 ASSERT(!event.isNull());
1818 frame()->domWindow()->dispatchMessageEventWithOriginCheck(intendedTargetOrig in.get(), event, 0); 1816 frame()->domWindow()->dispatchMessageEventWithOriginCheck(intendedTargetOrig in.get(), event, 0);
1819 } 1817 }
1820 1818
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 2487
2490 // There is a possibility that the frame being detached was the only 2488 // There is a possibility that the frame being detached was the only
2491 // pending one. We need to make sure final replies can be sent. 2489 // pending one. We need to make sure final replies can be sent.
2492 flushCurrentScopingEffort(m_findRequestIdentifier); 2490 flushCurrentScopingEffort(m_findRequestIdentifier);
2493 2491
2494 cancelPendingScopingEffort(); 2492 cancelPendingScopingEffort();
2495 } 2493 }
2496 } 2494 }
2497 2495
2498 } // namespace blink 2496 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698