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

Unified Diff: ppapi/tests/test_post_message.cc

Issue 148213016: [PPAPI] Moving pp::VarResource_Dev API into pp::Var (now stable). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/ppb_var_shared.cc ('k') | ppapi/tests/test_var_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_post_message.cc
diff --git a/ppapi/tests/test_post_message.cc b/ppapi/tests/test_post_message.cc
index 83ae8a68114d13addf680ab4d183ae6b6286d66a..085de330323caf2f49114133dfcfd86a6e0dc35e 100644
--- a/ppapi/tests/test_post_message.cc
+++ b/ppapi/tests/test_post_message.cc
@@ -11,7 +11,6 @@
#include "ppapi/c/pp_var.h"
#include "ppapi/c/ppb_file_io.h"
-#include "ppapi/cpp/dev/var_resource_dev.h"
#include "ppapi/cpp/file_io.h"
#include "ppapi/cpp/file_ref.h"
#include "ppapi/cpp/file_system.h"
@@ -599,8 +598,7 @@ std::string TestPostMessage::TestSendingResource() {
ASSERT_EQ(PostAsyncMessageFromJavaScriptAndWait(js_code), 1);
pp::Var var = message_data_.back();
ASSERT_TRUE(var.is_resource());
- pp::VarResource_Dev var_resource(var);
- pp::Resource result = var_resource.AsResource();
+ pp::Resource result = var.AsResource();
ASSERT_TRUE(pp::FileSystem::IsFileSystem(result));
{
pp::FileSystem file_system(result);
« no previous file with comments | « ppapi/shared_impl/ppb_var_shared.cc ('k') | ppapi/tests/test_var_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698