| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 // When RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled | 74 // When RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled |
| 75 // (implied by slimmingPaintV2Enabled). | 75 // (implied by slimmingPaintV2Enabled). |
| 76 InPaint, | 76 InPaint, |
| 77 PaintClean, | 77 PaintClean, |
| 78 | 78 |
| 79 // Once the document starts shutting down, we cannot return | 79 // Once the document starts shutting down, we cannot return |
| 80 // to the style/layout/compositing states. | 80 // to the style/layout/compositing states. |
| 81 Stopping, | 81 Stopping, |
| 82 Stopped, | 82 Stopped, |
| 83 Disposed, | |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 class Scope { | 85 class Scope { |
| 87 STACK_ALLOCATED(); | 86 STACK_ALLOCATED(); |
| 88 WTF_MAKE_NONCOPYABLE(Scope); | 87 WTF_MAKE_NONCOPYABLE(Scope); |
| 89 public: | 88 public: |
| 90 Scope(DocumentLifecycle&, LifecycleState finalState); | 89 Scope(DocumentLifecycle&, LifecycleState finalState); |
| 91 ~Scope(); | 90 ~Scope(); |
| 92 | 91 |
| 93 private: | 92 private: |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 return m_state != InPerformLayout | 215 return m_state != InPerformLayout |
| 217 && m_state != InCompositingUpdate | 216 && m_state != InCompositingUpdate |
| 218 && m_state != InPaintInvalidation | 217 && m_state != InPaintInvalidation |
| 219 && m_state != InUpdatePaintProperties | 218 && m_state != InUpdatePaintProperties |
| 220 && m_state != InPaint; | 219 && m_state != InPaint; |
| 221 } | 220 } |
| 222 | 221 |
| 223 } // namespace blink | 222 } // namespace blink |
| 224 | 223 |
| 225 #endif | 224 #endif |
| OLD | NEW |