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

Unified Diff: ppapi/tests/test_post_message.cc

Issue 1440423003: Add support for HandleBlockingMessage to NaClMessageScanner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove extra whitespace Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/tests/test_post_message.cc
diff --git a/ppapi/tests/test_post_message.cc b/ppapi/tests/test_post_message.cc
index da560cfff5d65c12187a2ca2264ab54598e929fd..da9c51d505ec7951ada2d9d57698988aed5799cb 100644
--- a/ppapi/tests/test_post_message.cc
+++ b/ppapi/tests/test_post_message.cc
@@ -130,23 +130,6 @@ bool VarsEqual(const pp::Var& expected,
return VarsEqual(expected, actual, &visited_ids);
}
-class ScopedArrayBufferSizeSetter {
- public:
- ScopedArrayBufferSizeSetter(const PPB_Testing_Private* interface,
- PP_Instance instance,
- uint32_t threshold)
- : interface_(interface),
- instance_(instance) {
- interface_->SetMinimumArrayBufferSizeForShmem(instance_, threshold);
- }
- ~ScopedArrayBufferSizeSetter() {
- interface_->SetMinimumArrayBufferSizeForShmem(instance_, 0);
- }
- private:
- const PPB_Testing_Private* interface_;
- PP_Instance instance_;
-};
-
#define FINISHED_WAITING_MESSAGE "TEST_POST_MESSAGE_FINISHED_WAITING"
} // namespace

Powered by Google App Engine
This is Rietveld 408576698